mirror of
https://github.com/codex-storage/nim-libp2p.git
synced 2025-01-11 19:44:18 +00:00
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…
x
Reference in New Issue
Block a user