chatwoot/app/jobs/internal
Aakash Bakhle d20950c5b4
feat: scheduler fairness [AI-159] (#14425)
# Pull Request Template

## Description
Better scheduling and queueing mechanics for document auto-sync
- add jitter plan wise for document sync
- move auto-sync documents to purgeable queue

## Type of change

Please delete options that are not relevant.

- [x] New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration.
locally tested and with specs

## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream
modules

---------

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Sony Mathew <sony@chatwoot.com>
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com>
2026-05-27 16:01:51 +05:30
..
check_new_versions_job.rb chore: Reorganize the installation config settings (#8794) 2024-01-31 16:48:42 +04:00
delete_accounts_job.rb feat: automate account deletion (#11406) 2025-05-23 12:58:13 +05:30
process_stale_contacts_job.rb fix: throttle stalecontacts job (#11430) 2025-05-08 20:05:08 -07:00
process_stale_redis_keys_job.rb fix: RemoveStaleRedisKeys service (#10562) 2024-12-11 03:38:25 +08:00
remove_orphan_conversations_job.rb feat: add cron job to remove orphan conversations (#13335) 2026-01-28 19:25:20 +05:30
remove_stale_contact_inboxes_job.rb feat: Add job to remove stale contact inboxes (#8096) 2023-11-06 20:24:30 -08:00
remove_stale_contacts_job.rb chore: use housekeeping queue for remove_stale_contacts job (#11435) 2025-05-08 09:39:49 +05:30
remove_stale_redis_keys_job.rb fix: RemoveStaleRedisKeys service (#10562) 2024-12-11 03:38:25 +08:00
seed_account_job.rb fix: Account seeder error on staging (#5371) 2022-09-01 21:23:57 +05:30
trigger_daily_scheduled_items_job.rb feat: scheduler fairness [AI-159] (#14425) 2026-05-27 16:01:51 +05:30
trigger_hourly_scheduled_items_job.rb fix: captain auto sync scheduler config (#14336) 2026-05-04 13:37:25 +05:30