diff --git a/library/waku_context.nim b/library/waku_context.nim index 33db477b4..856a8e620 100644 --- a/library/waku_context.nim +++ b/library/waku_context.nim @@ -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.} = - return + await sleepAsync(30.seconds) # await for the node to get created const WatchdogTimeinterval = 1.seconds const WakuNotRespondingTimeout = 3.seconds while true: