Remove sidekiq entirely to speed up builds a little and reduce image size
Build and Publish Docker Container / build (push) Successful in 5m39s

This commit is contained in:
2024-02-07 10:47:46 +00:00
parent 4b3204d2f4
commit 8d03165cfc
4 changed files with 2 additions and 51 deletions
-7
View File
@@ -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
-27
View File
@@ -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