about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/workers/scheduler/werewolf_scheduler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/scheduler/werewolf_scheduler.rb b/app/workers/scheduler/werewolf_scheduler.rb
index 1cb4c9c70..6495ae5d3 100644
--- a/app/workers/scheduler/werewolf_scheduler.rb
+++ b/app/workers/scheduler/werewolf_scheduler.rb
@@ -17,7 +17,7 @@ class Scheduler::WerewolfScheduler
 
     return unless moon_fraction >= 0.998
 
-    redis.setex('werewolf-status', 1.day, 1)
+    redis.set('werewolf-status', 1, ex: 1.day)
 
     announcer = find_announcer_acct
     return if announcer.nil?