diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-08-17 13:22:14 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:18 -0500 |
commit | 295476d0a81fe03dc06f8742228708f946e62dfc (patch) | |
tree | ef21cd9e7f78dd1379e70bd601a85a399b2427d0 | |
parent | f8069bc8298d35304d837cca4401183c3a6726a3 (diff) |
[Timelines] Reduce duplicate check to two hours
-rw-r--r-- | app/services/fan_out_on_write_service.rb | 2 |
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? |