Skip to content

Commit f229d93

Browse files
committed
polish
1 parent 2d46db5 commit f229d93

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/apify/storage_clients/_apify/_request_queue_single_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ async def reclaim_request(
277277

278278
async def is_empty(self) -> bool:
279279
"""Specific implementation of this method for the RQ single access mode."""
280-
# Without the lock the `is_empty` is prone to falsely report True with some low probability race condition.
281280
await self._ensure_head_is_non_empty()
282281
return not self._head_requests
283282

0 commit comments

Comments
 (0)