Skip to content
This repository has been archived by the owner on Feb 22, 2021. It is now read-only.

Commit

Permalink
Merge pull request sidekiq#2716 from davydovanton/fix-object-allocation
Browse files Browse the repository at this point in the history
Fix object allocation and cpu usage for each web request
  • Loading branch information
mperham committed Dec 15, 2015
2 parents 76830ba + cc3beef commit 6a53c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sidekiq/web_helpers.rb
Expand Up @@ -18,7 +18,7 @@ def strings(lang)
end

def locale_files
@@locale_files = settings.locales.flat_map do |path|
@@locale_files ||= settings.locales.flat_map do |path|
Dir["#{path}/*.yml"]
end
end
Expand Down

0 comments on commit 6a53c7e

Please sign in to comment.