On 3/9/06, Alan Robertson <[EMAIL PROTECTED]> wrote: > [email protected] wrote: > > linux-ha CVS committal > > > > Author : andrew > > Host : > > Project : linux-ha > > Module : lib > > > > Dir : linux-ha/lib/clplumbing > > > > > > Modified Files: > > cl_log.c > > > > > > Log Message: > > Avoid using nasty timeouts to be sure that all logging has been sent to > > ha_logd > > > > > +void > > +cl_flush_logs(void) > > +{ > > + if(logging_daemon_chan == NULL) { > > + return; > > + } > > + logging_daemon_chan->ops->waitout(logging_daemon_chan); > > + sleep(2); > > > If the sleep(2) is needed, then that's a bug. > > Do you know if it's needed?
I havent tested it yet, but I've already removed it locally to see... _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
