Client: change length of old-results log from 24 hours to 1 hour

This commit is contained in:
David Anderson 2013-09-08 12:52:10 -07:00
parent 1bba918a17
commit 9024f8cc18
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ void RESULT::set_state(int val, const char* where) {
void add_old_result(RESULT& r) {
while (!old_results.empty()) {
OLD_RESULT& ores = *old_results.begin();
if (ores.create_time < gstate.now - 86400) {
if (ores.create_time < gstate.now - 3600) {
old_results.pop_front();
} else {
break;