Sha256: 6e24ad09f1e4e2fe8e3c9e6353a67002111573e6621ee4a4142087401b438b87

Contents?: true

Size: 365 Bytes

Versions: 24

Compression:

Stored size: 365 Bytes

Contents

# frozen_string_literal: true
require 'sidekiq/web'

Sidekiq::Cron::Job.create(name: 'AllSynchronizationsJob runs every hour', cron: '0 * * * *', class: 'Maestrano::Connector::Rails::AllSynchronizationsJob')

# Sidekiq Admin
Sidekiq::Web.use Rack::Auth::Basic do |username, password|
  username == ENV['SIDEKIQ_USERNAME'] && password == ENV['SIDEKIQ_PASSWORD']
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
maestrano-connector-rails-2.0.2.pre.RC6 template/sidekiq.rb
maestrano-connector-rails-2.0.2.pre.RC5 template/sidekiq.rb
maestrano-connector-rails-2.0.2.pre.RC4 template/sidekiq.rb
maestrano-connector-rails-2.0.2.pre.RC3 template/sidekiq.rb
maestrano-connector-rails-2.0.2.pre.RC2 template/sidekiq.rb
maestrano-connector-rails-2.0.2.pre.RC1 template/sidekiq.rb
maestrano-connector-rails-2.0.1 template/sidekiq.rb
maestrano-connector-rails-2.0.0 template/sidekiq.rb
maestrano-connector-rails-2.0.0.pre.RC13 template/sidekiq.rb
maestrano-connector-rails-2.0.0.pre.RC12 template/sidekiq.rb
maestrano-connector-rails-2.0.0.pre.RC11 template/sidekiq.rb
maestrano-connector-rails-2.0.0.pre.RC10 template/sidekiq.rb
maestrano-connector-rails-2.0.0.pre.RC9 template/sidekiq.rb
maestrano-connector-rails-2.0.0.pre.RC8 template/sidekiq.rb
maestrano-connector-rails-1.5.0 template/sidekiq.rb
maestrano-connector-rails-2.0.0.pre.RC7 template/sidekiq.rb
maestrano-connector-rails-2.0.0.pre.RC6 template/sidekiq.rb
maestrano-connector-rails-2.0.0.pre.RC5 template/sidekiq.rb
maestrano-connector-rails-2.0.0.pre.RC4 template/sidekiq.rb
maestrano-connector-rails-2.0.0.pre.RC3 template/sidekiq.rb