Skip to content

Commit 0a047f0

Browse files
committed
server session FEATURE improved call home messages
1 parent 0b30e45 commit 0a047f0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/session_server.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3375,7 +3375,7 @@ nc_ch_client_thread(void *arg)
33753375
if (nc_server_ch_client_thread_session_cond_wait(session, data)) {
33763376
goto cleanup;
33773377
}
3378-
VRB("Call Home client \"%s\" session terminated, reconnecting...", data->client_name);
3378+
VRB("Call Home client \"%s\" session terminated.", data->client_name);
33793379

33803380
/* LOCK */
33813381
client = nc_server_ch_client_with_endpt_lock(data->client_name);
@@ -3395,6 +3395,7 @@ nc_ch_client_thread(void *arg)
33953395

33963396
/* sleep until we should reconnect TODO wake up sometimes to check for new notifications */
33973397
reconnect_in = (time(NULL) - client->conn.period.anchor_time) % (client->conn.period.period * 60);
3398+
VRB("Call Home client \"%s\" reconnecting in %d seconds.", data->client_name, reconnect_in);
33983399
sleep(reconnect_in);
33993400

34003401
/* LOCK */

0 commit comments

Comments
 (0)