Shortened size of cached events.

This commit is contained in:
Storm Dragon 2024-03-13 19:26:29 -04:00
parent 6644634d98
commit c9924f66da

View File

@ -89,7 +89,7 @@ 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})