Skip to content

Commit 9f723f8

Browse files
committed
fix: run do_gca also in bootstrap nodes
1 parent 496cc70 commit 9f723f8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

other/DHT_bootstrap.c

+2
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@ int main(int argc, char *argv[])
262262
last_lan_discovery = mono_time_get(mono_time);
263263
}
264264

265+
do_gca(mono_time, gc_announces_list);
266+
265267
#ifdef TCP_RELAY_ENABLED
266268
do_tcp_server(tcp_s, mono_time);
267269
#endif

other/bootstrap_daemon/src/tox-bootstrapd.c

+2
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,8 @@ int main(int argc, char *argv[])
595595
last_lan_discovery = mono_time_get(mono_time);
596596
}
597597

598+
do_gca(mono_time, group_announce);
599+
598600
if (enable_tcp_relay) {
599601
do_tcp_server(tcp_server, mono_time);
600602
}

0 commit comments

Comments
 (0)