parent
b17b2f25ac
commit
a49d43d112
29 changed files with 437 additions and 103 deletions
|
@ -728,6 +728,10 @@ en:
|
|||
error: Error
|
||||
title: Title
|
||||
unfollowed: Unfollowed
|
||||
scheduled_statuses:
|
||||
over_daily_limit: You have exceeded the limit of %{limit} scheduled toots for that day
|
||||
over_total_limit: You have exceeded the limit of %{limit} scheduled toots
|
||||
too_soon: The scheduled date must be in the future
|
||||
sessions:
|
||||
activity: Last activity
|
||||
browser: Browser
|
||||
|
|
|
@ -283,6 +283,7 @@ Rails.application.routes.draw do
|
|||
resources :streaming, only: [:index]
|
||||
resources :custom_emojis, only: [:index]
|
||||
resources :suggestions, only: [:index, :destroy]
|
||||
resources :scheduled_statuses, only: [:index, :show, :update, :destroy]
|
||||
|
||||
resources :conversations, only: [:index, :destroy] do
|
||||
member do
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
- [mailers, 2]
|
||||
- [pull]
|
||||
:schedule:
|
||||
scheduled_statuses_scheduler:
|
||||
every: '5m'
|
||||
class: Scheduler::ScheduledStatusesScheduler
|
||||
subscriptions_scheduler:
|
||||
cron: '<%= Random.rand(0..59) %> <%= Random.rand(4..6) %> * * *'
|
||||
class: Scheduler::SubscriptionsScheduler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue