1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Log phased restart availability always. Close #2483

This commit is contained in:
Nate Berkopec 2020-11-30 09:43:16 -07:00
parent f13d02cb74
commit b686d7d514
No known key found for this signature in database
GPG key ID: BDD7A4B8E43906A6
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,7 @@
* Features
* Your feature goes here <Most recent on the top, like GitHub> (#Github Number)
* Phased restart availability is now always logged, even if it is not available.
* Prints the loaded configuration if the environment variable `PUMA_LOG_CONFIG` is present ([#2472])
* Integrate with systemd's watchdog and notification features ([#2438])
* Adds max_fast_inline as a configuration option for the Server object ([#2406])

View file

@ -337,6 +337,7 @@ module Puma
before = Thread.list.reject { |t| t.thread_variable_get(:fork_safe) }
if preload?
log "* Restarts: (\u2714) hot (\u2716) phased"
log "* Preloading application"
load_and_bind
@ -354,7 +355,7 @@ module Puma
end
end
else
log "* Phased restart available"
log "* Restarts: (\u2714) hot (\u2714) phased"
unless @launcher.config.app_configured?
error "No application configured, nothing to run"