about summary refs log tree commit diff
path: root/spec/controllers/concerns/rate_limit_headers_spec.rb
diff options
context:
space:
mode:
authorDaigo 3 Dango <zunda@users.noreply.github.com>2020-08-24 12:06:45 +0000
committerGitHub <noreply@github.com>2020-08-24 14:06:45 +0200
commit9669557be1d9c8577564242861bdbad9b821906a (patch)
treebc2bfc3fe99d8375bff9b8a505b021b458385510 /spec/controllers/concerns/rate_limit_headers_spec.rb
parent46210a65d1cc4c53fb69fd9c904bdf2d5679d179 (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 'spec/controllers/concerns/rate_limit_headers_spec.rb')
0 files changed, 0 insertions, 0 deletions