Le 21 févr. 2010 à 12:47, Frank Niessink a écrit :

> 2010/2/21 Jérôme Laheurte <[email protected]>:
> > Okay, this relates to the fixes I already did on reminders. Remember how 
> > the timer would fire a few miliseconds before the actual requested date ? 
> > The fix for reminders was to keep the requested date and use it for the 
> > event name but this does not work for the midnight refresh, because it 
> > actually happens before midnight, so viewers are not refreshed correctly 
> > (this happens a lot on Mac OS X but not on Linux)... This night, it fired 
> > at 23:59:58...
> >
> > So, either I try to fix the timer stuff, which will be difficult since 
> > timers are not meant to be precise, or I kludge by putting a sleep before 
> > refreshing (computing the time remaining before actual midnight)... What do 
> > you think ?
> 
> I've committed a fix to the Release0_78_Branch, can you please test?
> It basically delays the firing of daily (or less frequent) timers by
> 10 seconds so it is more likely to fire in the right period.

Okay, I'll tell you tomorrow if it refreshed or not.

Cheers
Jérôme

Reply via email to