[Dovecot] Return error instead of dying on time back skip?
Timo Sirainen
tss at iki.fi
Fri May 11 14:50:54 EEST 2007
On Wed, 2007-05-02 at 10:52 +0200, Amon Ott wrote:
> Now I wonder if Dovecot could return errors to the users instead of
> dying until time is fine again, e.g. "System time has moved
> backwards, please come back in n seconds". If the time skip is just a
> few seconds, it can of course delay and then go on as it does now.
>
> With this change, no admin would be needed to carefully restart
> Dovecot at the right time. I have not looked into Dovecot code myself
> yet, but could try a patch if necessary.
I think this is just way too much trouble for handling a situation that
really shouldn't be happening in the first place.. The code already
allows the clock to move backwards by 5 seconds without dying, so how
horrible are the clocks in those computers? :)
It's anyway easy to increase that time by modifying the sources.
src/lib/ioloop.c IOLOOP_MAX_TIME_BACKWARDS_SLEEP
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070511/2ea1090c/attachment.pgp
More information about the dovecot
mailing list