diff options
author | Daigo 3 Dango <zunda@users.noreply.github.com> | 2020-08-24 12:06:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-24 14:06:45 +0200 |
commit | 9669557be1d9c8577564242861bdbad9b821906a (patch) | |
tree | bc2bfc3fe99d8375bff9b8a505b021b458385510 /app/lib/activitypub/activity/create.rb | |
parent | 46210a65d1cc4c53fb69fd9c904bdf2d5679d179 (diff) |
Better manage subscriptionCounters (#14608)
Before this change:
- unsubscribe() was not called for a disconnection
- It seems that WebSocketClient calls connected() and reconnected().
subscriptionCounters were incremented twice for a single reconnection,
first from connected() and second from reconnected()
This might be a an additional change to
https://github.com/tootsuite/mastodon/pull/14579
to recover subscriptions after a reconnect.
Diffstat (limited to 'app/lib/activitypub/activity/create.rb')
0 files changed, 0 insertions, 0 deletions