1
0

sidekiq.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ---
  2. :concurrency: <%= ENV.fetch('SIDEKIQ_CONCURRENCY', 5) %>
  3. :queues:
  4. - [default, 8]
  5. - [push, 6]
  6. - [ingress, 4]
  7. - [mailers, 2]
  8. - [pull]
  9. - [scheduler]
  10. :scheduler:
  11. :listened_queues_only: true
  12. :schedule:
  13. scheduled_statuses_scheduler:
  14. every: '5m'
  15. class: Scheduler::ScheduledStatusesScheduler
  16. queue: scheduler
  17. trends_refresh_scheduler:
  18. every: '5m'
  19. class: Scheduler::Trends::RefreshScheduler
  20. queue: scheduler
  21. trends_review_notifications_scheduler:
  22. every: '6h'
  23. class: Scheduler::Trends::ReviewNotificationsScheduler
  24. queue: scheduler
  25. indexing_scheduler:
  26. every: '5m'
  27. class: Scheduler::IndexingScheduler
  28. queue: scheduler
  29. vacuum_scheduler:
  30. cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
  31. class: Scheduler::VacuumScheduler
  32. queue: scheduler
  33. follow_recommendations_scheduler:
  34. cron: '<%= Random.rand(0..59) %> <%= Random.rand(6..9) %> * * *'
  35. class: Scheduler::FollowRecommendationsScheduler
  36. queue: scheduler
  37. user_cleanup_scheduler:
  38. cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *'
  39. class: Scheduler::UserCleanupScheduler
  40. queue: scheduler
  41. ip_cleanup_scheduler:
  42. cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
  43. class: Scheduler::IpCleanupScheduler
  44. queue: scheduler
  45. pghero_scheduler:
  46. cron: '0 0 * * *'
  47. class: Scheduler::PgheroScheduler
  48. queue: scheduler
  49. instance_refresh_scheduler:
  50. cron: '0 * * * *'
  51. class: Scheduler::InstanceRefreshScheduler
  52. queue: scheduler
  53. accounts_statuses_cleanup_scheduler:
  54. interval: 1 minute
  55. class: Scheduler::AccountsStatusesCleanupScheduler
  56. queue: scheduler
  57. suspended_user_cleanup_scheduler:
  58. interval: 1 minute
  59. class: Scheduler::SuspendedUserCleanupScheduler
  60. queue: scheduler