Fixes to thread-safe loading
This commit is contained in:
parent
d029cff707
commit
2189fba647
5 changed files with 14 additions and 2 deletions
|
@ -52,7 +52,8 @@ Commitchange::Application.configure do
|
|||
|
||||
config.log_level = :debug
|
||||
|
||||
config.threadsafe!
|
||||
config.threadsafe!
|
||||
config.dependency_loading = true if $rails_rake_task
|
||||
# Turn this on if you want to mess with code inside /node_modules
|
||||
# config.browserify_rails.evaluate_node_modules = true
|
||||
|
||||
|
|
|
@ -83,6 +83,8 @@ Commitchange::Application.configure do
|
|||
|
||||
config.assets.compile = false
|
||||
|
||||
config.threadsafe!
|
||||
config.dependency_loading = true if $rails_rake_task
|
||||
# Compress json
|
||||
# config.middleware.use Rack::Deflater
|
||||
end
|
||||
|
|
|
@ -68,4 +68,11 @@ Commitchange::Application.configure do
|
|||
# with SQLite, MySQL, and PostgreSQL)
|
||||
# config.active_record.auto_explain_threshold_in_seconds = 0.5
|
||||
|
||||
config.assets.compile = false
|
||||
|
||||
config.threadsafe!
|
||||
config.dependency_loading = true if $rails_rake_task
|
||||
# Compress json
|
||||
# config.middleware.use Rack::Deflater
|
||||
|
||||
end
|
||||
|
|
|
@ -41,5 +41,8 @@ Commitchange::Application.configure do
|
|||
config.log_level = :debug
|
||||
|
||||
config.action_controller.allow_forgery_protection = false
|
||||
|
||||
config.cache_store = :memory_store
|
||||
config.threadsafe!
|
||||
|
||||
end
|
||||
|
|
|
@ -3,7 +3,6 @@ require 'qx'
|
|||
require 'delayed_job_helper'
|
||||
require 'active_support/core_ext'
|
||||
|
||||
Delayed::Worker.delay_jobs = false
|
||||
|
||||
module InsertBillingSubscriptions
|
||||
|
||||
|
|
Loading…
Reference in a new issue