This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/lib/demon
David Taylor ed6b3b82bd
FIX: Reopen sidekiq log files after rotation (#9429)
Unicorn uses the USR1 to indicate that log files should be reopened. This commit implements the same functionality for our forked sidekiq workers:

- USR1 is intercepted in the unicorn master, and re-issued to all child processes
- USR1 is trapped in the sidekiq processes, and `Unicorn::Util.reopen_logs` is used to re-open log files
2020-04-16 12:13:13 +01:00
..
base.rb FIX: Reopen sidekiq log files after rotation (#9429) 2020-04-16 12:13:13 +01:00
rails_autospec.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
sidekiq.rb FIX: Reopen sidekiq log files after rotation (#9429) 2020-04-16 12:13:13 +01:00