












Hello! I want to talk about point #3 from the interrupt docs (pre-interrupt code re-runs on resume) In practice this is biting my team a bit: We have logger.info(…) calls before interrupt() and now see duplicate log lines on every resume. We have nodes whose pre-interrupt code is meant to run exactly once per interrupt so that a human can verify the work. To make that hold we’d have to split those nodes in two, pre-interrupt work in one node, and the interrupt + post-interrupt work in a succe...
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。