mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
tools/dhtcnode: increase shutdown pooling period
This commit is contained in:
1 parent
ed972fd365
commit
cd9eda6511
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user