init push - laying out the project

This commit is contained in:
Mike Sutton
2022-11-12 02:27:46 +01:00
commit 14e163a1a5
183 changed files with 20069 additions and 0 deletions

View File

@ -0,0 +1,9 @@
Redis.exists_returns_integer = true
if ENV['RUN_SIDEKIQ_CRON']=='yes'
schedule_file = 'config/schedule.yml'
Sidekiq::Cron::Job.load_from_hash YAML.load_file(schedule_file) if File.exist?(schedule_file)
Sidekiq.configure_server do | config|
config[:cron_poll_interval] = 1
end
end