mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-02-26 00:13:14 +00:00
remove unneeded sleep
This commit is contained in:
parent
b4e3e2cfc1
commit
cb0b3023c8
@ -138,7 +138,6 @@ template withLock*(lock: AsyncLock, body: untyped) =
|
||||
await lock.acquire()
|
||||
try:
|
||||
body
|
||||
await sleepAsync(1.millis)
|
||||
finally:
|
||||
try:
|
||||
lock.release()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user