[Bug 30640] New: The second Google Mail notification may take up to 60 seconds occur

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 6 01:31:14 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30640

           Summary: The second Google Mail notification may take up to 60
                    seconds occur
           Product: Telepathy
           Version: 0.10
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: medium
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: nicolas.dufresne at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


Created an attachment (id=39198)
 View: https://bugs.freedesktop.org/attachment.cgi?id=39198
 Review: https://bugs.freedesktop.org/review?bug=30640&attachment=39198

Mail status polling to workaround server lazyness

As discussed in http://bugs.meego.com/show_bug.cgi?id=3879, it was found that
Google Server spaces <new-mail> event of a fixed period of 60 seconds. This
leads to very bad user experience in Meego MyZone.

While this is a server design issue, we can workaround this issue by polling
the mail status during this 60 seconds period. See attached patch for propose
solution. With a fixed delay of 5 seconds, the overhead of this solution is 12
mail updates spread on a period of 60 seconds, after what the polling can stop
since new-mail are re-enabled on server side. Polling is indeed disabled if
nobody is subscribed to mail notification interface.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list