chore: use housekeeping queue for remove_stale_contacts job (#11435)

- Use the housekeeping queue for the `remove_stale_contacts` job
- fix specs
This commit is contained in:
Vishnu Narayanan
2025-05-08 09:39:49 +05:30
committed by GitHub
parent 199f2fb86c
commit bfddc4da24
3 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
# - are older than 30 days
class Internal::RemoveStaleContactsJob < ApplicationJob
queue_as :low
queue_as :housekeeping
def perform(account, batch_size = 1000)
Internal::RemoveStaleContactsService.new(account: account).perform(batch_size)