Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion app/utils/local/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ function waitForReady(child, expectedResponse, signal) {
console.log(`[${child.name}] ${line}`);
recordOutput(line);
if (line.includes(expectedResponse)) {
cleanup();

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dès que le viewer ou le backend écrivait plus de 64 Ko de logs (warnings de caméra, requêtes...), le buffer OS de son pipe saturait et le processus se bloquait indéfiniment sur son prochain log, provoquant des timeouts

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JulienChampagnol c'est toi qui a ajouté tout ca hier. Qu'en penses-tu ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est ça qui provoquait les crash. J'ai testé en local avec cleanup() je reproduisais le bug facilement. et du coup en l'enlevant ça ne crash plus, avec la même data ( 3000 corner, 2600 lines)

resolve(child);
}
}
Expand Down
Loading