Factor out our report interval specification so that Yohoho can change it

without hackery.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5881 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2009-07-20 22:58:39 +00:00
parent c0c68f98d3
commit 8c2a1d9b37
@@ -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();