mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +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):
|
def die(self):
|
||||||
fd = file(self.filename, 'w')
|
fd = file(self.filename, 'w')
|
||||||
fd.write(repr(self.uptimes))
|
fd.write(repr(self.top(50)))
|
||||||
fd.write('\n')
|
fd.write('\n')
|
||||||
fd.close()
|
fd.close()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user