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

Tcp timeout #46

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Tcp timeout #46

wants to merge 4 commits into from

Conversation

rhoadesScholar
Copy link
Contributor

Timeout for tcp messaging was hardcoded to 0.1, which empirically resulted in excessive worker terminations, drastically slowing processing.

Originally a "timeout" kwarg was included for Task() definition, but this information is not currently applied in the master branch code.

I found it more appropriate and parsimonious to include a "tcp_timeout" kwarg in the convenience.run_blockwise() call that initializes scheduling of tasks.

Timeouts were hardcoded to 0.1, despite having an input variable in Tasks(). This was corrected by moving specification to the run_blockwise() function call via the "tcp_timeout" kwarg.

Task() no longer takes a timeout argument for inputs. convenience.run_blockwise() takes tcp_timeout, defaulting to 0.1, as previously was hardcoded.
@rhoadesScholar
Copy link
Contributor Author

Note: Current master branch also fails mypy.

@pattonw
Copy link
Collaborator

pattonw commented Mar 18, 2024

The ubuntu tests seem to fail after a 6hr timeout, I don't see any changes that would would result in hanging forever though

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