From e3462391742bcbe2f019b94aeaaa16f92e528dec Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Mon, 29 Apr 2019 09:48:37 +0300 Subject: [PATCH] Limit amount of commands by 100 --- service/fit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/fit.py b/service/fit.py index 7ce5bf351..832b317c9 100644 --- a/service/fit.py +++ b/service/fit.py @@ -222,7 +222,7 @@ class Fit(FitDeprecated): @classmethod def getCommandProcessor(cls, fitID): if fitID not in cls.processors: - cls.processors[fitID] = wx.CommandProcessor() + cls.processors[fitID] = wx.CommandProcessor(maxCommands=100) return cls.processors[fitID] @staticmethod