diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-02-17 14:28:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-17 14:28:48 +0100 |
commit | a71af984011ff98df2fa1b7f6c983706a91d99bf (patch) | |
tree | f949ab587ba0d65ad0c08a3417f8d5110c53ca6a /app/lib/ostatus/activity/creation.rb | |
parent | a7c50c7abab98b3db0b89e3b2fe78abe0dc9789c (diff) |
Push discovered status through streaming API within a time window (#6484)
Time window of 6 hours
Diffstat (limited to 'app/lib/ostatus/activity/creation.rb')
-rw-r--r-- | app/lib/ostatus/activity/creation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/ostatus/activity/creation.rb b/app/lib/ostatus/activity/creation.rb index b38407cd3..7cf2d90dc 100644 --- a/app/lib/ostatus/activity/creation.rb +++ b/app/lib/ostatus/activity/creation.rb @@ -61,7 +61,7 @@ class OStatus::Activity::Creation < OStatus::Activity::Base Rails.logger.debug "Queuing remote status #{status.id} (#{id}) for distribution" LinkCrawlWorker.perform_async(status.id) unless status.spoiler_text? - DistributionWorker.perform_async(status.id) if @options[:override_timestamps] + DistributionWorker.perform_async(status.id) if @options[:override_timestamps] || status.within_realtime_window? status end |