Skip to content

Commit

Permalink
Maybe helps?
Browse files Browse the repository at this point in the history
  • Loading branch information
Darryl Masson committed Jun 1, 2021
1 parent d721be0 commit 1c6b1ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dispatcher/DAQController.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,9 @@ def check_timeouts(self, detector, command=None):
self.hypervisor.tactical_nuclear_option()
self.last_nuke = now()
else:
#self.control_detector(detector=detector, command='stop')
self.log.debug(f'Nuclear timeout at {int(dt)}/{self.hv_nuclear_timeout}')
return
#return

if command is None: # not specified, we figure out it here
command_times = [(cmd,doc[detector]) for cmd,doc in self.last_command.items()]
Expand Down Expand Up @@ -313,6 +314,7 @@ def check_timeouts(self, detector, command=None):
self.hypervisor.tactical_nuclear_option()
self.last_nuke = now()
else:
self.control_detector(detector=detector, command='stop')
self.log.debug(f'Nuclear timeout at {int(dt)}/{self.hv_nuclear_timeout}')
self.error_stop_count[detector] = 0
else:
Expand Down

0 comments on commit 1c6b1ba

Please sign in to comment.