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

wait-for-environment command has wrong default timeout #18

Closed
ghost opened this issue Aug 30, 2012 · 1 comment
Closed

wait-for-environment command has wrong default timeout #18

ghost opened this issue Aug 30, 2012 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 30, 2012

Default timeout is supposed to be 20mins.

Actual timeout is calculated using INTERVAL of 15 seconds so default timeout ends up being 5mins.

http://beanstalker.ingenieux.com.br/beanstalk-maven-plugin/xref/br/com/ingenieux/mojo/beanstalk/cmd/env/waitfor/WaitForEnvironmentCommand.html

private static final long INTERVAL = 15 * 1000;
Date expiresAt = new Date(System.currentTimeMillis() + INTERVAL * timeoutMins);

aldrinleal added a commit that referenced this issue Nov 1, 2012
@aldrinleal
Copy link
Member

Fixed.

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

1 participant