Skip to content

Commit

Permalink
Merge pull request #112 from ZLLentz/maint_default_timeout
Browse files Browse the repository at this point in the history
MAINT: increase the default timeout to help TMO load properly
  • Loading branch information
ZLLentz authored Nov 3, 2022
2 parents 6f03362 + 1736d75 commit 3b53413
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lucid/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)


Expand Down

0 comments on commit 3b53413

Please sign in to comment.