diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-08-14 02:41:44 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:18 -0500 |
commit | abfd0c107c8003ba06a118625c49d22df553696f (patch) | |
tree | bb41e6b47b2848233b7830b179a7b2e4df21dd91 /app/services/fan_out_on_write_service.rb | |
parent | d97a574b07cb60e9c2bdd98ace5049e73ee9b861 (diff) |
[Command Tags] Add #!notify toggle to allow toggling whether or not a post should be locally delivered to timelines/notifications
Diffstat (limited to 'app/services/fan_out_on_write_service.rb')
-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 6102ed1e5..1e12def33 100644 --- a/app/services/fan_out_on_write_service.rb +++ b/app/services/fan_out_on_write_service.rb @@ -92,7 +92,7 @@ class FanOutOnWriteService < BaseService Rails.logger.debug "Delivering status #{status.id} to public timeline" - Redis.current.set(key, true, ex: 6.hours) + Redis.current.set(key, 1, ex: 6.hours) Redis.current.publish('timeline:public', @payload) if status.local? |