Shortened size of cached events.
This commit is contained in:
parent
6644634d98
commit
c9924f66da
@ -89,8 +89,8 @@ class eventManager():
|
||||
return False
|
||||
if event == fenrirEventType.Ignore:
|
||||
return False
|
||||
if self.getEventQueueSize() > 40:
|
||||
if self.getEventQueueSize() > 50:
|
||||
if not event in [fenrirEventType.ScreenUpdate, fenrirEventType.HeartBeat]:
|
||||
self.cleanEventQueue()
|
||||
self._eventQueue.put({"Type":event,"Data":data})
|
||||
return True
|
||||
self._eventQueue.put({"Type":event,"Data":data})
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user