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

Add timeout to initial connection #36

Open
fonsp opened this issue Jan 27, 2023 · 1 comment
Open

Add timeout to initial connection #36

fonsp opened this issue Jan 27, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@fonsp
Copy link
Member

fonsp commented Jan 27, 2023

Distributed has this, and it might make sense to copy:

If there is no connection in X seconds when creating a worker, throw an exception.

@fonsp fonsp added the enhancement New feature or request label Jan 27, 2023
@fonsp
Copy link
Member Author

fonsp commented Oct 30, 2024

You can use Base.Timer and throwto for this: https://discourse.julialang.org/t/simple-timeout-of-function/99578/4

@fonsp fonsp added the good first issue Good for newcomers label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant