diff --git a/mlpyqtgraph/__init__.py b/mlpyqtgraph/__init__.py index e5d087d..b52fceb 100644 --- a/mlpyqtgraph/__init__.py +++ b/mlpyqtgraph/__init__.py @@ -3,6 +3,7 @@ used as interface """ +from pqthreads import config as pqthreads_config from pqthreads import decorator from mlpyqtgraph import windows from mlpyqtgraph import axes @@ -16,6 +17,9 @@ __version__ = '0.3.0' +pqthreads_config.params.signal_slot_timeout = 10_000 + + class OptionsDecoratorCore(decorator.DecoratorCore): """ Decorator take also takes keyword arguments and sets them as config options """ diff --git a/pyproject.toml b/pyproject.toml index 3de16ac..d16530a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ classifiers = [ urls = { Homepage = "https://github.com/swvanbuuren/mlpyqtgraph" } dependencies = [ "pyqtgraph", - "pqthreads", + "pqthreads==0.4.1", "pyopengl", ]