0

If a client is connected and then disconnects - say his connection is lost for 5 mins; does the server queue the messages that can't be delivered?

On the local development server this seems to be the case?

If this is the case in production - how long are the messages queued for?

Thanks

Moishe Lettvin
  • 8,422
  • 1
  • 24
  • 38
spidee
  • 497
  • 1
  • 5
  • 20

1 Answers1

2

In production the messages are dropped if your server receives the /_ah/channel/disconnected/ POST.

In practice there's a tiny bit of caching. If you eg. lose your connection very briefly because your wifi connection drops, a message sent during that time could be queued up and delivered. But you shouldn't get the disconnect POST in that case.

Moishe Lettvin
  • 8,422
  • 1
  • 24
  • 38