-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert workaround for puma 4.1.0 output bug (#48)
Puma 4.1.0 had a bug where its output was not properly detached prior to daemonizing. To work around this, I added output redirection to the `bundle exec puma` command to force the output to be detached from the console. Now that puma has fixed this bug, I am removing the output redirection. The redirection had a downside: it hid messages from the console that were valuable for troubleshooting. For example if puma had an invalid config file that prevented it from starting, the error would have been hidden. To avoid a breaking change, I am keeping the `:puma_stdout_path` and `:puma_stderr_path` tomo settings around. But rather than using them for output direction, they will be passed to puma's `--redirect-stdout` and `--redirect-stderr` options. These also redirect puma's output, but _after_ puma has successfully been started and daemonized (i.e after tomo's deploy has finished).
- Loading branch information
1 parent
becf0df
commit 7e4818d
Showing
4 changed files
with
29 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters