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

flux: cleanup zmq context and socket #3518

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

jameshcorbett
Copy link
Contributor

Description

Problem: flux_instance_manager.py runs as a script and creates a ZMQ context and socket but never cleans them up.

Changed Behaviour

None, it's just cleanup.

Fixes

N/A, but tag-on to #3517 and #3484 .

Type of change

Choose which options apply, and delete the ones which do not apply.

  • Code maintenance/cleanup

Problem: flux_instance_manager.py runs as a script and creates a
ZMQ context and socket but never cleans them up.

Use the context and socket as Python context managers so that they
are cleaned up properly.
@benclifford benclifford merged commit 3d09cad into Parsl:master Jul 10, 2024
7 checks passed
@jameshcorbett jameshcorbett deleted the flux-zmq-cleanup branch July 10, 2024 18:20
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.

2 participants