mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-23 16:44:04 -05:00
Disable sidekiq unique jobs in test env (#27737)
This commit is contained in:
parent
c451bbe249
commit
9429e30d75
@ -43,6 +43,7 @@ end
|
|||||||
Sidekiq.logger.level = ::Logger.const_get(ENV.fetch('RAILS_LOG_LEVEL', 'info').upcase.to_s)
|
Sidekiq.logger.level = ::Logger.const_get(ENV.fetch('RAILS_LOG_LEVEL', 'info').upcase.to_s)
|
||||||
|
|
||||||
SidekiqUniqueJobs.configure do |config|
|
SidekiqUniqueJobs.configure do |config|
|
||||||
|
config.enabled = !Rails.env.test?
|
||||||
config.reaper = :ruby
|
config.reaper = :ruby
|
||||||
config.reaper_count = 1000
|
config.reaper_count = 1000
|
||||||
config.reaper_interval = 600
|
config.reaper_interval = 600
|
||||||
|
Loading…
Reference in New Issue
Block a user