diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/workers/scheduler/ambassador_scheduler.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/workers/scheduler/ambassador_scheduler.rb b/app/workers/scheduler/ambassador_scheduler.rb index ebb2c1c45..f00d0912a 100644 --- a/app/workers/scheduler/ambassador_scheduler.rb +++ b/app/workers/scheduler/ambassador_scheduler.rb @@ -48,9 +48,9 @@ class Scheduler::AmbassadorScheduler def locally_boostable Status.local - .public_visibility - .without_replies - .without_reblogs - .where('statuses.created_at > ?', 18.weeks.ago) + .public_visibility + .without_replies + .without_reblogs + .where('statuses.created_at > ?', ENV.fetch('AMBASSADOR_RANGE', 14).days.ago) end end |