mirror of https://github.com/vacp2p/nim-libp2p.git
set default timeout to 10 secs
This commit is contained in:
parent
b281f46ee5
commit
2066e81658
|
@ -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.}
|
||||
|
|
Loading…
Reference in New Issue