Is there any way to configure maxInterruptSignals? #2535
Replies: 1 comment
|
No, this is not configurable in current Task. The interrupt count is a compile-time constant: const maxInterruptSignals = 3Task intercepts If you truly need immediate termination in CI, the supervisor should enforce it rather than relying on interactive Ctrl-C behavior. For example, send Changing this per invocation would require a Task feature/code change: expose the constant as configuration and define whether it applies globally or per running task. If the answer to the current behavior is sufficient, please mark this as accepted; otherwise this discussion can serve as the feature request for a configurable threshold. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi, I would like my task to be killed right away when pressing ^C, can I do that?
All reactions