Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Message updates fail when connection drops

#19

The way message updates are handled currently has the consequence that when the connection is dropped (e.g. the computer is put to sleep or disconnected from the network), then when the connection is restored the message updates don't begin again.

Notification updates and room member updates do continue after a network dropout.

This is caused by the different methods of updating. Notification and room member updates are triggered by a repeated periodical updating AJAX call. Message updates are single-shot. They send one AJAX call to the server and then the response from the server queues up the next call. Thus if the one response never gets through, then the next call never gets queued.

This is done this way because the call back to the server needs to know the highest message ID, but we can work around this by just having the updates set a variable somewhere on the page.

Reported by Thadd Selden · December 18th, 2008 @ 08:14 AM

State: new
Milestone: none
Assigned to: Thadd Selden Thadd Selden

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.