From c9924f66daad494826a11c4491cf23e61220e5b2 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 13 Mar 2024 19:26:29 -0400 Subject: [PATCH] Shortened size of cached events. --- src/fenrirscreenreader/core/eventManager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fenrirscreenreader/core/eventManager.py b/src/fenrirscreenreader/core/eventManager.py index 46412ec3..67f7598d 100644 --- a/src/fenrirscreenreader/core/eventManager.py +++ b/src/fenrirscreenreader/core/eventManager.py @@ -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