tools/dhtcnode: increase shutdown pooling period

This commit is contained in:
Adrien Béraud committed 2022-04-15 21:06:45 -04:00
1 parent ed972fd365
commit cd9eda6511
1 file changed
+1 -1
+1 -1
View File
@@ -245,7 +245,7 @@ int main(int argc, char **argv)
atomic_init(&ctx.stop, false);
dht_runner_shutdown(runner, dht_shutdown_callback, &ctx);
while (!atomic_load(&ctx.stop)) {
usleep(250);
usleep(10000);
}
dht_runner_delete(runner);
return 0;