Skip to content

Commit 8c1e649

Browse files
Copilotpuddly
andcommitted
Fix locked() call to pass priority parameter
Co-authored-by: puddly <[email protected]>
1 parent 4dc374b commit 8c1e649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/application/test_requests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ async def callback(req):
294294
nonlocal in_flight_requests
295295
nonlocal did_lock
296296

297-
if app._concurrent_requests_semaphore.locked():
297+
if app._concurrent_requests_semaphore.locked(priority=0):
298298
did_lock = True
299299

300300
in_flight_requests += 1

0 commit comments

Comments
 (0)