mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-10 22:20:14 +00:00
fix(engine): avoid polynomial capture failure regex
This commit is contained in:
@@ -1513,6 +1513,13 @@ describe("adaptive missing-frame retry helpers", () => {
|
||||
new Error("[Parallel] Capture failed: Worker 1: HeadlessExperimental.beginFrame timed out"),
|
||||
),
|
||||
).toBe(true);
|
||||
expect(
|
||||
isRecoverableParallelCaptureError(
|
||||
new Error(
|
||||
"[Parallel] Capture failed: Worker 0: drawElement worker encode timed out (frame 42)",
|
||||
),
|
||||
),
|
||||
).toBe(true);
|
||||
expect(isRecoverableParallelCaptureError(new Error("Encoding failed: ffmpeg exited"))).toBe(
|
||||
false,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user