mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
forking in passenger was bust, message bus subscriptions would stop working after fork
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
# spring binstub rspec
|
||||
Spring.after_fork do
|
||||
$redis.client.reconnect
|
||||
MessageBus.reliable_pub_sub.pub_redis.client.reconnect
|
||||
Rails.cache.reconnect
|
||||
MessageBus.after_fork
|
||||
end
|
||||
Spring::Commands::Rake.environment_matchers["spec"] = "test"
|
||||
|
Reference in New Issue
Block a user