mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
warm up v8 after fork
This commit is contained in:
@ -321,6 +321,9 @@ module Discourse
|
||||
# re-establish
|
||||
Sidekiq.redis = sidekiq_redis_config
|
||||
start_connection_reaper
|
||||
|
||||
# in case v8 was initialized we want to make sure it is nil
|
||||
PrettyText.reset_context
|
||||
nil
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user