remove unneeded sleep

This commit is contained in:
Eric 2025-01-21 12:19:53 +11:00
parent 4b62a0baf2
commit 4790b54fd2
No known key found for this signature in database

View File

@ -138,7 +138,6 @@ template withLock*(lock: AsyncLock, body: untyped) =
await lock.acquire()
try:
body
await sleepAsync(1.millis)
finally:
try:
lock.release()