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

Throws an exception when "wait" timeout is exceeded #8

Closed
richcorbs opened this issue May 5, 2016 · 1 comment
Closed

Throws an exception when "wait" timeout is exceeded #8

richcorbs opened this issue May 5, 2016 · 1 comment

Comments

@richcorbs
Copy link

richcorbs commented May 5, 2016

Is it possible to have it do nothing and pass by the block when the wait timeout is exceeded instead of raising an exception?

My use case is in a cron job. If a previous instance of the process is already running I don't want to wait around. I'll just come back and run next time.

@sheerun
Copy link
Owner

sheerun commented May 7, 2016

You can just catch it and execute block

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

No branches or pull requests

2 participants