From 295476d0a81fe03dc06f8742228708f946e62dfc Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Mon, 17 Aug 2020 13:22:14 -0500 Subject: [Timelines] Reduce duplicate check to two hours --- app/services/fan_out_on_write_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services') 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? -- cgit