From: Kevin G. <ke...@go...> - 2002-09-10 23:43:55
|
$LAST_CHECKED_AT is being reset, but only when the file is actually checked. Before, $LAST_CHECKED_AT was being reset even if the file hadn't been checked, hence the bug--if the routine was called more often than $WATCH_DELAY then the file would never be checked! Msc...@ao... wrote: > In a message dated 9/9/02 7:52:16 PM W. Europe Daylight Time, > ke...@go... writes: > > >> I just found a heinous bug in the watch code, if the logger was called >> *more* often than the wait interval than the config would never be >> reloaded. > > > > Not 100% sure, but with $LAST_CHECKED_AT not being reset, aren't you > running the stat() every time this function is being called now? > > -- Mike > > Mike Schilli > m...@pe... > http://perlmeister.com -- Happy Trails . . . Kevin M. Goess (and Anne and Frank) 904 Carmel Ave. Albany, CA 94706 (510) 525-5217 |