mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Max out the recorded uptimes at 50.
This commit is contained in:
parent
f987a6e69b
commit
ba9e9f4397
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user