diff --git a/src/java/com/threerings/presents/server/ReportManager.java b/src/java/com/threerings/presents/server/ReportManager.java index cd5700f40..1784bdf18 100644 --- a/src/java/com/threerings/presents/server/ReportManager.java +++ b/src/java/com/threerings/presents/server/ReportManager.java @@ -74,7 +74,7 @@ public class ReportManager logReport(LOG_REPORT_HEADER + generateReport(DEFAULT_TYPE, System.currentTimeMillis(), true)); } - }).schedule(REPORT_INTERVAL, true); + }).schedule(getReportInterval(), true); } /** @@ -175,6 +175,14 @@ public class ReportManager log.info(report); } + /** + * Returns the period on which to schedule our report generation. + */ + protected long getReportInterval () + { + return REPORT_INTERVAL; + } + /** The time at which the server was started. */ protected long _serverStartTime = System.currentTimeMillis();