mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 19:53:53 -06:00
10ff0ee0cc
This commit updates `Demon::Base#start` to call `Discourse.before_fork` before forking. According to the docs in `mini_racer`, we need to "Dispose manually of all MiniRacer::Context objects prior to forking". This commit is motivated by a segmentation fault which we are seeing in production when killing a daemon process. Backtrace of the core dump includes traces of `mini_racer` so we think this is the cause. Note that we are not 100% sure if this will fix the issue. |
||
---|---|---|
.. | ||
base.rb | ||
email_sync.rb | ||
rails_autospec.rb | ||
sidekiq.rb |