Skip to content
Snippets Groups Projects
Commit 375c45b7 authored by ale's avatar ale
Browse files

keep less values

parent c22fbba0
Branches
No related tags found
No related merge requests found
......@@ -351,7 +351,7 @@ class StateMachine(object):
state_count_ts = dict(self.state_count_ts)
for key, value in state_count.iteritems():
if key not in state_count_ts:
state_count_ts[key] = RingBuffer(512)
state_count_ts[key] = RingBuffer(128)
state_count_ts[key].add(value)
self.state_count = state_count
self.state_count_ts = state_count_ts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment