From 2066e8165827870cdf26692c55d387bd99344851 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Thu, 3 Oct 2019 16:36:06 -0600 Subject: [PATCH] set default timeout to 10 secs --- libp2p/protocols/pubsub/timedcache.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/protocols/pubsub/timedcache.nim b/libp2p/protocols/pubsub/timedcache.nim index 8b40e255d..0966fc6e3 100644 --- a/libp2p/protocols/pubsub/timedcache.nim +++ b/libp2p/protocols/pubsub/timedcache.nim @@ -13,7 +13,7 @@ import chronos, chronicles logScope: topic = "TimedCache" -const Timeout* = 5 * 1000 # default timeout in ms +const Timeout* = 10 * 1000 # default timeout in ms type ExpireHandler*[V] = proc(val: V) {.gcsafe.}