about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authormayaeh <mayaeh@marimo-net.org>2019-07-28 20:48:19 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-07-28 13:48:19 +0200
commit0d80f686d81e4a12db1ac54b8f31f69f375dc8dc (patch)
treed344fd47904a41943a69273c095c25fcbf79e6f3 /config
parent9349f1067a99c45648dc66f397b338d458d1a763 (diff)
Add `tootctl preview_cards remove` (#11320)
* Add `tootctl preview_cards remove`

* fix code style

* Remove `Scheduler::PreviewCardsCleanupScheduler` file

* fix code style again
Add exclude case where image_file_name is blank

* Added a function to output confirmation if the specified number of days is less than 2 weeks
Diffstat (limited to 'config')
-rw-r--r--config/sidekiq.yml3
1 files changed, 0 insertions, 3 deletions
diff --git a/config/sidekiq.yml b/config/sidekiq.yml
index 7f41b6607..6ebe450b0 100644
--- a/config/sidekiq.yml
+++ b/config/sidekiq.yml
@@ -24,9 +24,6 @@
   ip_cleanup_scheduler:
     cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
     class: Scheduler::IpCleanupScheduler
-  preview_cards_cleanup_scheduler:
-    cron: '<%= Random.rand(0..59) %> <%= Random.rand(3..5) %> * * *'
-    class: Scheduler::PreviewCardsCleanupScheduler
   email_scheduler:
     cron: '0 10 * * 2'
     class: Scheduler::EmailScheduler