You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
2.2 KiB

  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. email_domain_block_refresh_scheduler:
  21. every: '1h'
  22. class: Scheduler::EmailDomainBlockRefreshScheduler
  23. queue: scheduler
  24. trends_review_notifications_scheduler:
  25. every: '2h'
  26. class: Scheduler::Trends::ReviewNotificationsScheduler
  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