set default timeout to 10 secs
This commit is contained in:
parent
b281f46ee5
commit
2066e81658
|
@ -13,7 +13,7 @@ import chronos, chronicles
|
||||||
logScope:
|
logScope:
|
||||||
topic = "TimedCache"
|
topic = "TimedCache"
|
||||||
|
|
||||||
const Timeout* = 5 * 1000 # default timeout in ms
|
const Timeout* = 10 * 1000 # default timeout in ms
|
||||||
|
|
||||||
type
|
type
|
||||||
ExpireHandler*[V] = proc(val: V) {.gcsafe.}
|
ExpireHandler*[V] = proc(val: V) {.gcsafe.}
|
||||||
|
|
Loading…
Reference in New Issue