Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop trying to send the messages while sleeping or connecting #55

Closed
ForNeVeR opened this issue Jul 9, 2019 · 3 comments · Fixed by #80
Closed

Stop trying to send the messages while sleeping or connecting #55

ForNeVeR opened this issue Jul 9, 2019 · 3 comments · Fixed by #80
Assignees

Comments

@ForNeVeR
Copy link
Member

ForNeVeR commented Jul 9, 2019

See also #18, #54.

We need a mechanism to temporarily disable sending the messages into IM while it is still paused.

Probably handle that in custom XMPP logic, because Telegram has no such problems.

@ForNeVeR ForNeVeR self-assigned this Jul 9, 2019
@ForNeVeR
Copy link
Member Author

ForNeVeR commented Jul 9, 2019

Current plan is to have a two-step reconnection algorithm:

  1. Send a pause message to the message sending actor
  2. Call something like let run = StartAsync [: Async<Async<unit>>]
  3. Send a resume message to the message sending actor
  4. do! run

@ForNeVeR ForNeVeR changed the title Stop trying to send the messages while pausing or connecting Stop trying to send the messages while sleeping or connecting Jul 9, 2019
@ForNeVeR ForNeVeR mentioned this issue Jul 9, 2019
19 tasks
@ForNeVeR
Copy link
Member Author

ForNeVeR commented Aug 4, 2019

Depends on #66.

@ForNeVeR
Copy link
Member Author

ForNeVeR commented Sep 8, 2019

Currently blocked on #18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant