From ba9e9f439709db2051ca117cadcd3c8ae69914eb Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 15 Oct 2003 06:25:32 +0000 Subject: [PATCH] Max out the recorded uptimes at 50. --- plugins/Status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Status.py b/plugins/Status.py index 9a9c3323f..53839602e 100644 --- a/plugins/Status.py +++ b/plugins/Status.py @@ -75,7 +75,7 @@ class UptimeDB(object): def die(self): fd = file(self.filename, 'w') - fd.write(repr(self.uptimes)) + fd.write(repr(self.top(50))) fd.write('\n') fd.close()