Skip to content

Commit

Permalink
Merge pull request #35 from APS-4ID-POLAR/34-default-timeout
Browse files Browse the repository at this point in the history
Set default timeout on EpicsSignalBase
  • Loading branch information
gfabbris authored Nov 3, 2020
2 parents 3875aa9 + aaa5dfd commit b115a0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions profile_bluesky/startup/instrument/framework/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,6 @@
#RE.msg_hook = ts_msg_hook
from bluesky.simulators import summarize_plan

# set default timeout for all EpicsSignal connections & communications
import ophyd
ophyd.EpicsSignal.set_default_timeout(timeout=10, connection_timeout=5)
# set default timeout for all EpicsSignalBase connections & communications
from ophyd.signal import EpicsSignalBase
EpicsSignalBase.set_default_timeout(timeout=10, connection_timeout=5)

0 comments on commit b115a0c

Please sign in to comment.