sidekiq.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. trending_tags_scheduler:
  17. every: '5m'
  18. class: Scheduler::TrendingTagsScheduler
  19. queue: scheduler
  20. media_cleanup_scheduler:
  21. cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
  22. class: Scheduler::MediaCleanupScheduler
  23. queue: scheduler
  24. feed_cleanup_scheduler:
  25. cron: '<%= Random.rand(0..59) %> <%= Random.rand(0..2) %> * * *'
  26. class: Scheduler::FeedCleanupScheduler
  27. queue: scheduler
  28. follow_recommendations_scheduler:
  29. cron: '<%= Random.rand(0..59) %> <%= Random.rand(6..9) %> * * *'
  30. class: Scheduler::FollowRecommendationsScheduler
  31. queue: scheduler
  32. doorkeeper_cleanup_scheduler:
  33. cron: '<%= Random.rand(0..59) %> <%= Random.rand(0..2) %> * * 0'
  34. class: Scheduler::DoorkeeperCleanupScheduler
  35. queue: scheduler
  36. user_cleanup_scheduler:
  37. cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *'
  38. class: Scheduler::UserCleanupScheduler
  39. queue: scheduler
  40. ip_cleanup_scheduler:
  41. cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
  42. class: Scheduler::IpCleanupScheduler
  43. queue: scheduler
  44. email_scheduler:
  45. cron: '0 10 * * 2'
  46. class: Scheduler::EmailScheduler
  47. queue: scheduler
  48. backup_cleanup_scheduler:
  49. cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
  50. class: Scheduler::BackupCleanupScheduler
  51. queue: scheduler
  52. pghero_scheduler:
  53. cron: '0 0 * * *'
  54. class: Scheduler::PgheroScheduler
  55. queue: scheduler
  56. instance_refresh_scheduler:
  57. cron: '0 * * * *'
  58. class: Scheduler::InstanceRefreshScheduler
  59. queue: scheduler