mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
FIX: Sidekiq wouldn't start up in development mode
This commit is contained in:
parent
f99c00a0ef
commit
954d753d5d
@ -63,7 +63,7 @@ module Discourse
|
||||
config.autoload_paths += Dir["#{config.root}/lib/validators/"]
|
||||
config.autoload_paths += Dir["#{config.root}/app"]
|
||||
|
||||
if Rails.env.development?
|
||||
if Rails.env.development? && !Sidekiq.server?
|
||||
config.autoload_paths += Dir["#{config.root}/lib"]
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user