]> cat aescling's git repositories - mastodon.git/commit
Execute PushUpdateWorker only for accounts who uses StreamingAPI just now. (#3278)
authorClworld <clworld@ggtea.org>
Sat, 3 Jun 2017 18:50:53 +0000 (03:50 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 3 Jun 2017 18:50:53 +0000 (20:50 +0200)
commitdab8fc458420b5773a47ba232aabe089d0ff45b5
tree061d20ffaea7355c52c0a90a607c95e2eaa13cf9
parent8a597f01388b8dd0ab1805233b18233d8606061a
Execute PushUpdateWorker only for accounts who uses StreamingAPI just now.  (#3278)

* Add redis key "subscribed:timeline:#{account.id}" to indicate active streaming API listeners exists.

* Add endpoint for notification only stream.

* Run PushUpdateWorker only for users uses Streaming API now.

* Move close hander streamTo(Http/Ws) -> stream(Http/Ws)End (Deal with #3370)

* Add stream type for stream start log message.
app/lib/feed_manager.rb
streaming/index.js