Skip to content

Conversation

@ninjapanzer
Copy link
Contributor

...conditions of starting puma

Puma takes a few seconds to launch and will be started in the background. So we curl until it is accepting requests.

Also we are caging(kill -9) old pumas if they are running when the script is started.
Side effect is that the script restarts puma.

…he conditions of starting puma

Puma takes a few seconds to launch and will be started in the background. So we curl until it is accepting requests.

Also we are caging(kill -9) old pumas if they are running when the script is started.
Side effect is that the script restarts puma.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kinda feel like there should be some kind of timeout here, like 20 seconds or something. shrug

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bootup seems to take between 5 and 7 seconds

@wilkie wilkie force-pushed the master branch 2 times, most recently from b190898 to 33e3540 Compare October 6, 2014 06:04
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