mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 14:03:06 +00:00
reducing wait to 10 seconds
This commit is contained in:
parent
8535e38b94
commit
12d032ca00
@ -136,7 +136,7 @@ proc watchdogThreadBody(ctx: ptr WakuContext) {.thread.} =
|
||||
## Watchdog thread that monitors the Waku thread and notifies the library user if it hangs.
|
||||
|
||||
let watchdogRun = proc(ctx: ptr WakuContext) {.async.} =
|
||||
await sleepAsync(30.seconds) # await for the node to get created
|
||||
await sleepAsync(10.seconds) # await for the node to get created
|
||||
const WatchdogTimeinterval = 1.seconds
|
||||
const WakuNotRespondingTimeout = 3.seconds
|
||||
while true:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user