Timeout with large amount of unread mail

Bug #880848 reported by Jonathan Ernst
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity Mail
Invalid
Medium
Unassigned

Bug Description

One of my user had more than 400 unread e-mail in his gmail inbox and unity-mail thinks that the connexion times out and never finishes to read the e-mails.

You'll find attached a patch that fixes the issue by resetting the alarm between each e-mail.

Thanks for your tool and best regards.

Revision history for this message
Jonathan Ernst (jonathan.ernst) wrote :
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Thank you for this report!

Your fix is not very good because we have fixed interval for mail checks (20 seconds by default), and 4*400 > 20, which can cause an error in GObject loop.

I'll try to write a better fix later, and it'll probably land in 0.10 (too late for 0.9 which is in testing now).

Changed in unity-mail:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Dmitry Shachnev (mitya57)
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

I'll implement a configuration file setting for custom "alarm" interval. Will this suit you?

How much time does retrieving data from "more than 400" emails take? Maybe it is reasonable to add another 10 seconds if mail count is >=100? 4+10 sounds better for me than 4*400.

Changed in unity-mail:
status: Triaged → Incomplete
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Expired because of no activity for over 90 days.

Changed in unity-mail:
status: Incomplete → Invalid
status: Invalid → Incomplete
status: Incomplete → Invalid
assignee: Dmitry Shachnev (mitya57) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.