mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-08 08:23:07 +00:00
remove unneeded sleep
This commit is contained in:
parent
e35fe07c2a
commit
7a855f0f2b
@ -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