sidekiq.yml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. ---
  2. :concurrency: 5
  3. :queues:
  4. - [default, 6]
  5. - [push, 4]
  6. - [mailers, 2]
  7. - [pull]
  8. - [scheduler]
  9. :scheduler:
  10. :listened_queues_only: true
  11. :schedule:
  12. scheduled_statuses_scheduler:
  13. every: '5m'
  14. class: Scheduler::ScheduledStatusesScheduler
  15. queue: scheduler
  16. trends_refresh_scheduler:
  17. every: '5m'
  18. class: Scheduler::Trends::RefreshScheduler
  19. queue: scheduler
  20. trends_review_notifications_scheduler:
  21. every: '6h'
  22. class: Scheduler::Trends::ReviewNotificationsScheduler
  23. queue: scheduler
  24. indexing_scheduler:
  25. every: '5m'
  26. class: Scheduler::IndexingScheduler
  27. queue: scheduler
  28. media_cleanup_scheduler:
  29. cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
  30. class: Scheduler::MediaCleanupScheduler
  31. queue: scheduler
  32. feed_cleanup_scheduler:
  33. cron: '<%= Random.rand(0..59) %> <%= Random.rand(0..2) %> * * *'
  34. class: Scheduler::FeedCleanupScheduler
  35. queue: scheduler
  36. follow_recommendations_scheduler:
  37. cron: '<%= Random.rand(0..59) %> <%= Random.rand(6..9) %> * * *'
  38. class: Scheduler::FollowRecommendationsScheduler
  39. queue: scheduler
  40. doorkeeper_cleanup_scheduler:
  41. cron: '<%= Random.rand(0..59) %> <%= Random.rand(0..2) %> * * 0'
  42. class: Scheduler::DoorkeeperCleanupScheduler
  43. queue: scheduler
  44. user_cleanup_scheduler:
  45. cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *'
  46. class: Scheduler::UserCleanupScheduler
  47. queue: scheduler
  48. ip_cleanup_scheduler:
  49. cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
  50. class: Scheduler::IpCleanupScheduler
  51. queue: scheduler
  52. email_scheduler:
  53. cron: '0 10 * * 2'
  54. class: Scheduler::EmailScheduler
  55. queue: scheduler
  56. backup_cleanup_scheduler:
  57. cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
  58. class: Scheduler::BackupCleanupScheduler
  59. queue: scheduler
  60. pghero_scheduler:
  61. cron: '0 0 * * *'
  62. class: Scheduler::PgheroScheduler
  63. queue: scheduler
  64. instance_refresh_scheduler:
  65. cron: '0 * * * *'
  66. class: Scheduler::InstanceRefreshScheduler
  67. queue: scheduler
  68. accounts_statuses_cleanup_scheduler:
  69. interval: 1 minute
  70. class: Scheduler::AccountsStatusesCleanupScheduler
  71. queue: scheduler