mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
add log for master connecting to harbor
This commit is contained in:
@@ -119,6 +119,7 @@ _connect_to(struct master *m, int id) {
|
||||
memcpy(tmp,ipaddress,sz);
|
||||
tmp[sz] = '\0';
|
||||
int port = strtol(portstr+1,NULL,10);
|
||||
skynet_error(ctx, "Master connect to harbor(%d) %s:%d", id, tmp, port);
|
||||
m->remote_fd[id] = skynet_socket_connect(ctx, tmp, port);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user