Skip to content

Commit

Permalink
fix: run do_gca also in bootstrap nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Green-Sky committed Jan 28, 2025
1 parent 496cc70 commit 9f723f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions other/DHT_bootstrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ int main(int argc, char *argv[])
last_lan_discovery = mono_time_get(mono_time);
}

do_gca(mono_time, gc_announces_list);

#ifdef TCP_RELAY_ENABLED
do_tcp_server(tcp_s, mono_time);
#endif
Expand Down
2 changes: 2 additions & 0 deletions other/bootstrap_daemon/src/tox-bootstrapd.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,8 @@ int main(int argc, char *argv[])
last_lan_discovery = mono_time_get(mono_time);
}

do_gca(mono_time, group_announce);

if (enable_tcp_relay) {
do_tcp_server(tcp_server, mono_time);
}
Expand Down

0 comments on commit 9f723f8

Please sign in to comment.