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.

63 lines
1.9 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. 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
  60. accounts_statuses_cleanup_scheduler:
  61. interval: 1 minute
  62. class: Scheduler::AccountsStatusesCleanupScheduler
  63. queue: scheduler