We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e8837e commit c39d6a5Copy full SHA for c39d6a5
plugins/plugin-codeflare/src/tray/watchers/profile/status.ts
@@ -91,7 +91,9 @@ export default class ProfileStatusWatcher {
91
Debug("codeflare")("Watcher error", profile)
92
this.headReadiness = "error"
93
this.workerReadiness = "error"
94
- this.initJobWithDelay(profile, 2000) // restart after a delay
+ // WARNING: DO NOT initJob() here, that will be handled in the
95
+ // "close" handler. If you do so here (too), then an exponential
96
+ // cascade of subprocess spawning may result.
97
})
98
99
job.on("close", async (exitCode) => {
0 commit comments