Skip to content

Commit 417631b

Browse files
committed
Increase kademlia timeout for bad wifi
1 parent a18cda5 commit 417631b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

p2p/kademlia.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
k_b = 8 # 8 bits per hop
3333

3434
k_bucket_size = 16
35-
k_request_timeout = 0.9 # timeout of message round trips
35+
k_request_timeout = 7.2 # timeout of message round trips
3636
k_idle_bucket_refresh_interval = 3600 # ping all nodes in bucket if bucket was idle
3737
k_find_concurrency = 3 # parallel find node lookups
3838
k_pubkey_size = 512

0 commit comments

Comments
 (0)