Skip to content

Commit 762b283

Browse files
committed
Update concurrency.py
1 parent 9213905 commit 762b283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/async_examples/concurrency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async def retry_with_backoff(func, max_retries=3):
3232

3333
async def sorter(arr):
3434
print("codeflash stdout: Sorting list")
35-
asyncio.sleep(0.00001)
35+
await asyncio.sleep(0.00001)
3636
for i in range(len(arr)):
3737
for j in range(len(arr) - 1):
3838
if arr[j] > arr[j + 1]:

0 commit comments

Comments
 (0)