From 1736d75b9b8a780d88687d770c4baafa4a758022 Mon Sep 17 00:00:00 2001 From: Zachary Lentz Date: Thu, 3 Nov 2022 11:55:46 -0700 Subject: [PATCH] MAINT: increase the default timeout to help TMO load properly --- lucid/launcher.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lucid/launcher.py b/lucid/launcher.py index f3f0c14..afe9e63 100644 --- a/lucid/launcher.py +++ b/lucid/launcher.py @@ -10,6 +10,7 @@ import pcdsutils.log import typhos import typhos.utils +from ophyd.signal import EpicsSignalBase from pydm import exception from PyQtAds import QtAds from qtpy import QtCore, QtWidgets @@ -245,6 +246,12 @@ def grid_to_dock(): def main(): args = parse_arguments() kwargs = vars(args) + # TODO make configurable + timeout = 10 + EpicsSignalBase.set_defaults( + timeout=timeout, + connection_timeout=timeout, + ) launch(**kwargs)