logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

sidekiq.yml (1300B)


  1. ---
  2. :concurrency: 5
  3. :queues:
  4. - default
  5. - push
  6. - pull
  7. - mailers
  8. :schedule:
  9. subscriptions_scheduler:
  10. cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *'
  11. class: Scheduler::SubscriptionsScheduler
  12. media_cleanup_scheduler:
  13. cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
  14. class: Scheduler::MediaCleanupScheduler
  15. feed_cleanup_scheduler:
  16. cron: '<%= Random.rand(0..59) %> <%= Random.rand(0..2) %> * * *'
  17. class: Scheduler::FeedCleanupScheduler
  18. doorkeeper_cleanup_scheduler:
  19. cron: '<%= Random.rand(0..59) %> <%= Random.rand(0..2) %> * * 0'
  20. class: Scheduler::DoorkeeperCleanupScheduler
  21. user_cleanup_scheduler:
  22. cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *'
  23. class: Scheduler::UserCleanupScheduler
  24. subscriptions_cleanup_scheduler:
  25. cron: '<%= Random.rand(0..59) %> <%= Random.rand(1..3) %> * * 0'
  26. class: Scheduler::SubscriptionsCleanupScheduler
  27. ip_cleanup_scheduler:
  28. cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
  29. class: Scheduler::IpCleanupScheduler
  30. email_scheduler:
  31. cron: '0 10 * * 2'
  32. class: Scheduler::EmailScheduler
  33. backup_cleanup_scheduler:
  34. cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
  35. class: Scheduler::BackupCleanupScheduler