mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
fix substitution - :fired:
This commit is contained in:
parent
8c57aef3f8
commit
0a41ec59e8
@ -106,7 +106,7 @@ before_fork do |server, worker|
|
|||||||
restart = false
|
restart = false
|
||||||
|
|
||||||
if out_of_memory?
|
if out_of_memory?
|
||||||
Rails.logger.warn("Sidekiq is consuming too much memory (using: %0.2fM) for '%1', restarting" % [(max_rss.to_f / 1.megabyte), ENV["DISCOURSE_HOSTNAME"]])
|
Rails.logger.warn("Sidekiq is consuming too much memory (using: %0.2fM) for '%s', restarting" % [(max_rss.to_f / 1.megabyte), ENV["DISCOURSE_HOSTNAME"]])
|
||||||
restart = true
|
restart = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user