demarches-normaliennes/app/jobs/cron
mfo 08ec45443d
BREAKING(sidekiq.queues): rationalize queues. now have critical, default, low
Dear instances, make sure to update your sidekiq processes. Indead, we are adopting a new strategy for daemons that process our background
jobs.

Now their is only 3 queues on sidekiq (still, we keep archive/export on delayed job for now).

The big idea : allow any worker to deal with any queue (capacity mgmt) :
- critical: must be procesed now
- default: will be processed asap
- low: do it after everything else

FYI: we had 50% of our server capacity on reserved queues. Leading to
bottle neck processing (reserved queues/worker not processing other
queues). We HAD TO fix it. Sorry for the inconvenience

TBH, this is an idea of Colin Darie <colin@darie.eu>. I'm just pushing
it forward.

Co-Authored-By: Colin Darie <colin@darie.eu>
2024-09-24 21:29:11 +02:00
..
datagouv chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
administrateur_activate_before_expiration_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
auto_archive_procedure_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
backfill_siret_degraded_mode_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
cron_job.rb BREAKING(sidekiq.queues): rationalize queues. now have critical, default, low 2024-09-24 21:29:11 +02:00
discarded_dossiers_deletion_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
discarded_procedures_deletion_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
dossier_operation_log_move_to_cold_storage_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
enable_procedure_expires_when_termine_enabled_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
expired_dossiers_brouillon_deletion_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
expired_dossiers_en_construction_deletion_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
expired_dossiers_termine_deletion_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
expired_prefilled_dossiers_deletion_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
expired_users_deletion_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
fix_missing_antivirus_analysis_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
instructeur_email_notification_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
notify_draft_not_submitted_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
operations_signature_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
procedure_external_url_check_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
procedure_process_sva_svr_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
purge_manager_administrateur_sessions_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
purge_old_email_event_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
purge_old_sib_mails_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
purge_stale_archives_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
purge_stale_batch_operation_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
purge_stale_exports_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
purge_stale_transfers_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
purge_unattached_blobs_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
purge_unused_admin_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
release_crashed_export_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
send_api_token_expiration_notice_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
stalled_declarative_procedures_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
update_stats_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00
weekly_overview_job.rb chore: enable freeze string literals by comment 2024-08-22 09:26:48 +02:00