Skip to content

Commit 47e10d7

Browse files
committed
REsque has an emotional crisis when run with the threadsafe options set. This is the proposed workaround that let's us have threadsafe in the app but forces resque to run without threadsafe
1 parent 1ff8990 commit 47e10d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/environments/production.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Badgiy::Application.configure do
2+
config.threadsafe! unless $rails_rake_task
3+
24
config.cache_classes = true
35
config.consider_all_requests_local = false
46
config.action_controller.perform_caching = true

0 commit comments

Comments
 (0)