Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions janus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,6 @@ def put_nowait(self, item: T) -> None:
if parent._is_shutdown:
raise AsyncQueueShutDown

parent._get_loop()
if 0 < parent._maxsize <= parent._qsize():
raise AsyncQueueFull

Expand Down Expand Up @@ -626,7 +625,6 @@ def get_nowait(self) -> T:
if not parent._qsize():
raise AsyncQueueEmpty

parent._get_loop()
item = parent._get()
if parent._async_not_full_waiting:
parent._notify_async(parent._async_not_full.notify)
Expand Down
Loading