From 0a41ec59e871a877399e8691b0ca031dfed1eade Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Tue, 12 May 2015 19:43:25 +0200 Subject: [PATCH] fix substitution - :fired: --- config/unicorn.conf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/unicorn.conf.rb b/config/unicorn.conf.rb index 977f973c1a7..647b1f17351 100644 --- a/config/unicorn.conf.rb +++ b/config/unicorn.conf.rb @@ -106,7 +106,7 @@ before_fork do |server, worker| restart = false 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 end