File: config.ru

package info (click to toggle)
ruby-sidekiq-cron 1.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 476 kB
  • sloc: ruby: 1,822; sh: 8; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'sidekiq'

Sidekiq.configure_client do |config|
  config.redis = { :size => 1 }
end

require 'sidekiq/web'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'sidekiq-cron'

run Sidekiq::Web