CVSROOT: /sources/monit
Module name: monit
Changes by: Martin Pala <martinp> 06/07/08 21:38:39
Modified files:
. : monitor.c monitor.h validate.c
http : cervlet.c
Log message:
Improve the time-to-handle the pending action. In the case that the
action is scheduled, global
flag is set, which is used in the validate function to handle the
pending actions before the
service checks (in new conditional loop). The 'visited' flag from
control machinery is (naturaly)
used to prevent the testing of the affected service in the same cycle.
When monit finished the
testing loop, it check whether the global flag was not set in between
again and if no, then it is
going to sleep, otherwise starts the validate loop immediately again.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/monit/monitor.c?cvsroot=monit&r1=1.130&r2=1.131
http://cvs.savannah.gnu.org/viewcvs/monit/monitor.h?cvsroot=monit&r1=1.188&r2=1.189
http://cvs.savannah.gnu.org/viewcvs/monit/validate.c?cvsroot=monit&r1=1.155&r2=1.156
http://cvs.savannah.gnu.org/viewcvs/monit/http/cervlet.c?cvsroot=monit&r1=1.207&r2=1.208
_______________________________________________
monit-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monit-dev