about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-17 13:22:14 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:18 -0500
commit295476d0a81fe03dc06f8742228708f946e62dfc (patch)
treeef21cd9e7f78dd1379e70bd601a85a399b2427d0
parentf8069bc8298d35304d837cca4401183c3a6726a3 (diff)
[Timelines] Reduce duplicate check to two hours
-rw-r--r--app/services/fan_out_on_write_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/fan_out_on_write_service.rb b/app/services/fan_out_on_write_service.rb
index c4d57c34b..a2948438b 100644
--- a/app/services/fan_out_on_write_service.rb
+++ b/app/services/fan_out_on_write_service.rb
@@ -94,7 +94,7 @@ class FanOutOnWriteService < BaseService
 
     Rails.logger.debug "Delivering status #{status.id} to public timeline"
 
-    Redis.current.set(key, 1, ex: 6.hours)
+    Redis.current.set(key, 1, ex: 2.hours)
 
     Redis.current.publish('timeline:public', @payload) if status.local? || !tavern
     if status.local?