Closed Bug 468662 Opened 16 years ago Closed 16 years ago

major refresh cycles cause Snowl messages to appear grouped by source when sorted by received

Categories

(Mozilla Labs :: Snowl, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myk, Assigned: myk)

Details

Messages in some views are sorted by the order in which they are received.  But messages Snowl receives in the same refresh cycle get inserted into the database in groups by source because Snowl parses the response data synchronously.

So, during a major refresh cycle that pulls a lot of messages (like when you restart your browser after leaving it off overnight) those views show messages that are grouped by source, which is confusing, inconsistent with the appearance of those views after a series of minor refresh cycles (like when you leave your browser running during the day), and doesn't look as nice.

Snowl already initiates refreshes of multiple feeds simultaneously and asynchronously, it's only the parsing of the response data that is synchronous.  Snowl sources should sleep for a few milliseconds after adding each message to the datastore to give other sources time to add messages.
QA Contact: cbeard → snowl
Fixed in changeset 08cb97d510a7.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.