Remove sidekiq entirely to speed up builds a little and reduce image size
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m39s
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m39s
This commit is contained in:
parent
4b3204d2f4
commit
8d03165cfc
4
Gemfile
4
Gemfile
@ -75,8 +75,8 @@ gem "tailwindcss-rails", "~> 2.0"
|
||||
gem "font-awesome-sass"
|
||||
gem "httparty"
|
||||
|
||||
gem "sidekiq"
|
||||
gem 'sidekiq-scheduler'
|
||||
# gem "sidekiq"
|
||||
# gem 'sidekiq-scheduler'
|
||||
gem "icalendar"
|
||||
gem "administrate"
|
||||
|
||||
|
||||
15
Gemfile.lock
15
Gemfile.lock
@ -240,16 +240,12 @@ GEM
|
||||
rdoc (6.5.0)
|
||||
psych (>= 4.0.0)
|
||||
redis (4.8.1)
|
||||
redis-client (0.17.0)
|
||||
connection_pool
|
||||
regexp_parser (2.8.1)
|
||||
reline (0.3.8)
|
||||
io-console (~> 0.5)
|
||||
rexml (3.2.6)
|
||||
ruby2_keywords (0.0.5)
|
||||
rubyzip (2.3.2)
|
||||
rufus-scheduler (3.9.1)
|
||||
fugit (~> 1.1, >= 1.1.6)
|
||||
sassc (2.4.0)
|
||||
ffi (~> 1.9)
|
||||
sassc-rails (2.1.2)
|
||||
@ -263,15 +259,6 @@ GEM
|
||||
rexml (~> 3.2, >= 3.2.5)
|
||||
rubyzip (>= 1.2.2, < 3.0)
|
||||
websocket (~> 1.0)
|
||||
sidekiq (7.1.5)
|
||||
concurrent-ruby (< 2)
|
||||
connection_pool (>= 2.3.0)
|
||||
rack (>= 2.2.4)
|
||||
redis-client (>= 0.14.0)
|
||||
sidekiq-scheduler (5.0.3)
|
||||
rufus-scheduler (~> 3.2)
|
||||
sidekiq (>= 6, < 8)
|
||||
tilt (>= 1.4.0)
|
||||
sprockets (4.2.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
rack (>= 2.2.4, < 4)
|
||||
@ -336,8 +323,6 @@ DEPENDENCIES
|
||||
rails (= 7.1.0.rc2)
|
||||
redis (~> 4.0)
|
||||
selenium-webdriver
|
||||
sidekiq
|
||||
sidekiq-scheduler
|
||||
sprockets-rails
|
||||
stimulus-rails
|
||||
tailwindcss-rails (~> 2.0)
|
||||
|
||||
@ -1,7 +0,0 @@
|
||||
Sidekiq.configure_server do |config|
|
||||
config.redis = { url: ENV['REDIS_URL'] }
|
||||
end
|
||||
|
||||
Sidekiq.configure_client do |config|
|
||||
config.redis = { url: ENV['REDIS_URL'] }
|
||||
end
|
||||
@ -1,27 +0,0 @@
|
||||
---
|
||||
:concurrency: 5
|
||||
staging:
|
||||
:concurrency: 10
|
||||
production:
|
||||
:concurrency: 20
|
||||
:queues:
|
||||
- default
|
||||
- mailers
|
||||
|
||||
# These are the cron jobs
|
||||
:scheduler:
|
||||
:schedule:
|
||||
:lecture_checkin_job:
|
||||
# Lectures start at 15 minutes past the hour so run the checkin script just before
|
||||
cron: '14 * * * 1,2,3,4,5'
|
||||
class: 'LectureCheckinJob'
|
||||
queue: default
|
||||
:scrape_panopto_job:
|
||||
cron: '* * * * 1,2,3,4,5'
|
||||
class: 'ScrapePanoptoJob'
|
||||
queue: default
|
||||
:scrape_toggl_job:
|
||||
# Lectures end at 5 past the hour so scrape toggl a little after when I will have ended the time entry
|
||||
cron: '10 * * * 1,2,3,4,5'
|
||||
class: 'ScrapeTogglJob'
|
||||
queue: default
|
||||
Loading…
Reference in New Issue
Block a user