Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use queue.Queue().get() rather than queue.Queue().get_nowait() #247

Merged
merged 5 commits into from
Jan 31, 2024

Conversation

jan-janssen
Copy link
Member

No description provided.

# Conflicts:
#	pympipool/__init__.py
#	pympipool/flux/executor.py
#	pympipool/mpi/executor.py
#	pympipool/slurm/executor.py
# Conflicts:
#	pympipool/__init__.py
#	pympipool/mpi/executor.py
@jan-janssen
Copy link
Member Author

I tested the following and the CPU load remains close to zero:

from queue import Queue
print(Queue().get())

@jan-janssen jan-janssen merged commit aa1e87e into main Jan 31, 2024
21 checks passed
@jan-janssen jan-janssen deleted the no_more_wait branch January 31, 2024 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant