From 9024f8cc18fe06b4c9d8bededda80355e4aaceb6 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 8 Sep 2013 12:52:10 -0700 Subject: [PATCH] Client: change length of old-results log from 24 hours to 1 hour --- client/result.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/result.cpp b/client/result.cpp index d659e8fdfa..77e269f95e 100644 --- a/client/result.cpp +++ b/client/result.cpp @@ -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;