Skip to content

Commit

Permalink
adding timeout to optical configruation
Browse files Browse the repository at this point in the history
  • Loading branch information
parfa30 committed Feb 10, 2025
1 parent 32af74f commit 83b8fbc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/lsst/ts/observatory/control/maintel/mtcalsys.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ async def change_laser_optical_configuration(
assert optical_configuration in list(LaserOpticalConfiguration)

current_configuration = (
await self.rem.tunablelaser.evt_opticalConfiguration.aget()
await self.rem.tunablelaser.evt_opticalConfiguration.aget(
timeout=self.long_timeout
)
)
if current_configuration.configuration != optical_configuration:
self.log.debug(
Expand Down

0 comments on commit 83b8fbc

Please sign in to comment.