More time for notification timing delay: Refs #6085

I noticed the double-archive problem again just now.  Looking at
the log, it took even longer than 250ms for Gmail to notify of the
EXPUNGEs after the append, so this patch increases the delay to a
full second.

It may be that this delay strategy is only pushing the timing hole
around, but until we can come up with a better solution, it'll have
to do.
This commit is contained in:
Jim Nelson 2013-09-03 17:47:47 -07:00
parent e064ce739e
commit e7baa8cdaa

View file

@ -7,7 +7,7 @@
private class Geary.ImapEngine.ReplayQueue : Geary.BaseObject {
// this value is high because delays between back-to-back unsolicited notifications have been
// see as high as 250ms
private const int NOTIFICATION_QUEUE_WAIT_MSEC = 500;
private const int NOTIFICATION_QUEUE_WAIT_MSEC = 1000;
private class ReplayClose : ReplayOperation {
public ReplayClose() {