48 conf: list[Configurable], timeout_seconds: int
49) -> list[Configurable]:
51 Take a configuration and adds a check on events reaching a timeout.
54 app = next(c
for c
in conf
if c.name ==
"ApplicationMgr")
56 watchdog = C.Gaudi.EventWatchdogAlg(
57 EventTimeout=timeout_seconds,
63 wrapping_seq = C.Gaudi.Sequencer(
64 "SequenceWithTimeout", Sequential=
True, Members=[watchdog] + list(app.TopAlg)
67 app.TopAlg = [wrapping_seq]
69 return conf + [watchdog, wrapping_seq]