Skip to content

Updated setup_mac to run puma instead of thin and to handle some of the ...#760

Open
ninjapanzer wants to merge 2 commits intohotsh:masterfrom
ninjapanzer:convert_setup_mac_to_puma
Open

Updated setup_mac to run puma instead of thin and to handle some of the ...#760
ninjapanzer wants to merge 2 commits intohotsh:masterfrom
ninjapanzer:convert_setup_mac_to_puma

Conversation

@ninjapanzer
Copy link
Copy Markdown
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.
Comment thread script/setup_mac
Copy link
Copy Markdown
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
Copy Markdown
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