Skip to content
Permalink
Browse files

dhtrunner: use threaded mode by default

  • Loading branch information...
aberaud committed Jun 10, 2019
1 parent 20c0069 commit 8da933c01a0e1bf7fa161ee42a9db52bdbb075d1
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/opendht/dhtrunner.h
@@ -365,7 +365,7 @@ class OPENDHT_PUBLIC DhtRunner {
* @param threaded: If false, ::loop() must be called periodically. Otherwise a thread is launched.
* @param cb: Optional callback to receive general state information.
*/
void run(in_port_t port = 4222, const crypto::Identity identity = {}, bool threaded = false, NetId network = 0) {
void run(in_port_t port = 4222, const crypto::Identity identity = {}, bool threaded = true, NetId network = 0) {
run(port, {
/*.dht_config = */{
/*.node_config = */{

0 comments on commit 8da933c

Please sign in to comment.
You can’t perform that action at this time.