[Pacemaker] [PATCH] a fix for the crm_mon html refresh time

frank.dimeo at bigbandnet.com frank.dimeo at bigbandnet.com
Thu Dec 10 15:51:52 EST 2009


# HG changeset patch
# User Frank DiMeo <frank.dimeo at bigbandnet.com>
# Date 1260454065 18000
# Branch stable-1.0
# Node ID 381160def02a34ae554637e0a26efda850ccc015
# Parent  5957a8ab21acad9ad77189d0ddd6ef2e617ac230
fix refresh time for html interface of crm_mon

diff -r 5957a8ab21ac -r 381160def02a tools/crm_mon.c
--- a/tools/crm_mon.c	Thu Dec 10 13:57:23 2009 +0100
+++ b/tools/crm_mon.c	Thu Dec 10 09:07:45 2009 -0500
@@ -1013,7 +1013,7 @@
     fprintf(stream, "<title>Cluster status</title>");
 /* content="%d;url=http://webdesign.about.com" */
     fprintf(stream,
-	    "<meta http-equiv=\"refresh\" content=\"%d\">", reconnect_msec);
+	    "<meta http-equiv=\"refresh\" content=\"%d\">", reconnect_msec/1000);
     fprintf(stream, "</head>");
 
     /*** SUMMARY ***/



More information about the Pacemaker mailing list