mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-07-16 02:27:25 +02: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…
x
Reference in New Issue
Block a user