mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Turn automatic que temp off #2724
This commit is contained in:
parent
b4496da4be
commit
9562d2f30d
1 changed files with 8 additions and 7 deletions
15
config.ru
15
config.ru
|
@ -3,10 +3,11 @@
|
||||||
require ::File.expand_path('../config/environment', __FILE__)
|
require ::File.expand_path('../config/environment', __FILE__)
|
||||||
run Rails.application
|
run Rails.application
|
||||||
|
|
||||||
if defined?(PhusionPassenger)
|
# turn automatic que temp off
|
||||||
PhusionPassenger.on_event(:starting_worker_process) do |forked|
|
# if defined?(PhusionPassenger)
|
||||||
if forked
|
# PhusionPassenger.on_event(:starting_worker_process) do |forked|
|
||||||
Que.mode = :async
|
# if forked
|
||||||
end
|
# Que.mode = :async
|
||||||
end
|
# end
|
||||||
end
|
# end
|
||||||
|
# end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue