bump sidekiq
This commit is contained in:
parent
aab960d896
commit
ea792246d0
5 changed files with 7 additions and 14 deletions
2
Gemfile
2
Gemfile
|
|
@ -17,7 +17,7 @@ gem 'devise', '2.1.3'
|
|||
|
||||
# Background processing
|
||||
|
||||
gem 'sidekiq', '2.10.1'
|
||||
gem 'sidekiq', '2.11.1'
|
||||
gem 'sinatra', '1.3.3'
|
||||
gem 'slim', '1.3.8'
|
||||
|
||||
|
|
|
|||
12
Gemfile.lock
12
Gemfile.lock
|
|
@ -55,8 +55,7 @@ GEM
|
|||
carrierwave (0.8.0)
|
||||
activemodel (>= 3.2.0)
|
||||
activesupport (>= 3.2.0)
|
||||
celluloid (0.12.4)
|
||||
facter (>= 1.6.12)
|
||||
celluloid (0.13.0)
|
||||
timers (>= 1.0.0)
|
||||
childprocess (0.3.9)
|
||||
ffi (~> 1.0, >= 1.0.11)
|
||||
|
|
@ -100,7 +99,6 @@ GEM
|
|||
excon (0.20.1)
|
||||
execjs (1.4.0)
|
||||
multi_json (~> 1.0)
|
||||
facter (1.7.0)
|
||||
factory_girl (4.2.0)
|
||||
activesupport (>= 3.0.0)
|
||||
factory_girl_rails (4.2.1)
|
||||
|
|
@ -309,7 +307,7 @@ GEM
|
|||
rdoc (3.12.2)
|
||||
json (~> 1.4)
|
||||
redcarpet (2.2.2)
|
||||
redis (3.0.3)
|
||||
redis (3.0.4)
|
||||
redis-namespace (1.2.1)
|
||||
redis (~> 3.0.0)
|
||||
remotipart (1.0.5)
|
||||
|
|
@ -348,8 +346,8 @@ GEM
|
|||
multi_json (~> 1.0)
|
||||
rubyzip
|
||||
websocket (~> 1.0.4)
|
||||
sidekiq (2.10.1)
|
||||
celluloid (~> 0.12.0)
|
||||
sidekiq (2.11.1)
|
||||
celluloid (~> 0.13.0)
|
||||
connection_pool (~> 1.0)
|
||||
multi_json (~> 1)
|
||||
redis (~> 3)
|
||||
|
|
@ -470,7 +468,7 @@ DEPENDENCIES
|
|||
ruby-oembed (= 0.8.8)
|
||||
sass-rails (= 3.2.6)
|
||||
selenium-webdriver (= 2.32.1)
|
||||
sidekiq (= 2.10.1)
|
||||
sidekiq (= 2.11.1)
|
||||
sinatra (= 1.3.3)
|
||||
slim (= 1.3.8)
|
||||
spork (= 1.0.0rc3)
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@
|
|||
module Workers
|
||||
class Base
|
||||
include Sidekiq::Worker
|
||||
sidekiq_options timeout: AppConfig.environment.sidekiq.timeout.to_i,
|
||||
backtrace: ((bt = AppConfig.environment.sidekiq.backtrace.get) && bt.to_i),
|
||||
sidekiq_options backtrace: ((bt = AppConfig.environment.sidekiq.backtrace.get) && bt.to_i),
|
||||
retry: AppConfig.environment.sidekiq.retry.to_i
|
||||
|
||||
# In the long term we need to eliminate the cause of these
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ defaults:
|
|||
namespace: "diaspora"
|
||||
concurrency: 5
|
||||
retry: 10
|
||||
timeout: 900
|
||||
backtrace: 15
|
||||
log: "log/sidekiq.log"
|
||||
s3:
|
||||
|
|
|
|||
|
|
@ -84,9 +84,6 @@ configuration: ## Section
|
|||
## Set this to false to disable it completely
|
||||
#retry: 10
|
||||
|
||||
## Time in seconds before a job is killed
|
||||
#timeout: 900
|
||||
|
||||
## Namespace to use in Redis, useful if you need to run
|
||||
## multiple instances of Diaspora using the same Redis instance
|
||||
#namespace: "diaspora"
|
||||
|
|
|
|||
Loading…
Reference in a new issue