dhtrunner: use threaded mode by default

This commit is contained in:
Adrien Béraud committed 2019-06-09 23:31:40 -04:00
1 parent 20c0069867
commit 8da933c01a
1 file changed
+1 -1
+1 -1
View File
@@ -365,7 +365,7 @@ public:
* @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 = */{