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

Restart more slowly #2145

Merged
merged 1 commit into from Aug 2, 2015
Merged

Restart more slowly #2145

merged 1 commit into from Aug 2, 2015

Conversation

zz9pzza
Copy link
Contributor

@zz9pzza zz9pzza commented Jul 20, 2015

puts "restart on #{server.host}"
run "/home/ao3app/bin/unicorns_reload"
unless servers.last == server
puts "Sleeping for 15 seconds #{server.host}"

Choose a reason for hiding this comment

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

Do not write to stdout. Use Rails' logger if you want to log.

Really this needs to got to stdout

elzj added a commit that referenced this pull request Aug 2, 2015
@elzj elzj merged commit c2d03ec into otwcode:master Aug 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants