about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/workers/scheduler/ambassador_scheduler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/scheduler/ambassador_scheduler.rb b/app/workers/scheduler/ambassador_scheduler.rb
index f942a9893..ebb2c1c45 100644
--- a/app/workers/scheduler/ambassador_scheduler.rb
+++ b/app/workers/scheduler/ambassador_scheduler.rb
@@ -31,7 +31,7 @@ class Scheduler::AmbassadorScheduler
   end
 
   def ambassador_boost_candidates
-    ambassador_boostable.joins(:status_stat).where('favourites_count + reblogs_count > 4')
+    ambassador_boostable.joins(:status_stat).where('favourites_count + reblogs_count >= ?', ENV.fetch('AMBASSADOR_THRESHOLD', 3).to_i)
   end
 
   def ambassador_boostable