Skip to content

Remove automatic pinging, now have to call startPing explicitly#15

Merged
masad-frost merged 1 commit intomasterfrom
fm-no-auto-ping
Feb 24, 2020
Merged

Remove automatic pinging, now have to call startPing explicitly#15
masad-frost merged 1 commit intomasterfrom
fm-no-auto-ping

Conversation

@masad-frost
Copy link
Copy Markdown
Member

Why

There was no real point in pinging on all clients all the time. We just wanted some usage stats and went overboard

What changed

Removed the startPing call from connection success callback
Made startPing a public method on Client so it can be called by the users

Test plan

  • Start a crosis connection
  • No pings going out
  • Call startPing
  • Notice ping and pong messages

There was no real point in pinging on all clients all the time. We just wanted some usage stats and went overboard
@masad-frost masad-frost merged commit 336e65b into master Feb 24, 2020
@masad-frost masad-frost deleted the fm-no-auto-ping branch February 24, 2020 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant