Sha256: 92bccb13eefeefbf7238c613da51088373e6dc7cc51bbdbd19bfbcc7c4037611
Contents?: true
Size: 360 Bytes
Versions: 33
Compression:
Stored size: 360 Bytes
Contents
require 'roo_on_rails/environment' module RooOnRails module Sidekiq class Loader def self.run RooOnRails::Environment.load ENV['RAILS_MAX_THREADS'] = (ENV.fetch('SIDEKIQ_THREADS').to_i + 1).to_s ENV['DATABASE_REAPING_FREQUENCY'] = ENV['SIDEKIQ_DATABASE_REAPING_FREQUENCY'] exec 'sidekiq' end end end end
Version data entries
33 entries across 33 versions & 1 rubygems