* graphs.jsp: Reduce refresh time to eliminate double iframe load

This commit is contained in:
zzz
2009-07-19 22:32:01 +00:00
parent 8d2a516044
commit 6c87005eeb

View File

@ -95,7 +95,8 @@ public class GraphHelper extends HelperBase {
+ "\" title=\"" + title + "\" /></a>\n"); + "\" title=\"" + title + "\" /></a>\n");
} }
if (_refreshDelaySeconds > 0) if (_refreshDelaySeconds > 0)
_out.write("<meta http-equiv=\"refresh\" content=\"" + _refreshDelaySeconds + "\" />\n"); // shorten the refresh by 3 seconds so we beat the iframe
_out.write("<meta http-equiv=\"refresh\" content=\"" + (_refreshDelaySeconds - 3) + "\" />\n");
} catch (IOException ioe) { } catch (IOException ioe) {
ioe.printStackTrace(); ioe.printStackTrace();