mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-04 15:03:08 +00:00
chore: add sleep for waiting
This commit is contained in:
parent
ec4fb57be7
commit
b412f9f4d3
@ -484,10 +484,12 @@ proc mount(
|
||||
debug "~~~~~~~~~~~~~ Starting root tracking ~~~~~~~~~~~~~~~~"
|
||||
debug "~~~~~~~~~~~~~ groupManager ~~~~~~~~~~~~~~~~"
|
||||
|
||||
await sleepAsync(5 * 60 * 1000)
|
||||
if conf.rlnRelayDynamic:
|
||||
debug "~~~~~~~~~~~~~ groupManager is dynamic ~~~~~~~~~~~~~~~~"
|
||||
let onchainGroupManager = cast[OnchainGroupManager](groupManager)
|
||||
asyncSpawn onchainGroupManager.trackRootChanges()
|
||||
await sleepAsync(5 * 60 * 1000)
|
||||
|
||||
return ok(wakuRlnRelay)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user