Skip to content

Commit a01ce1d

Browse files
committed
chore: only retry AVM proofs on SIGKILL
1 parent d0d5be1 commit a01ce1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yarn-project/bb-prover/src/bb/execute.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ export async function generateAvmProof(
435435
return {
436436
status: BB_RESULT.FAILURE,
437437
reason: `Failed to generate proof. AVM proof for TX hash ${input.hints.tx.hash}. Exit code ${result.exitCode}. Signal ${result.signal}.`,
438-
retry: !!result.signal,
438+
retry: result.signal === 'SIGKILL', // retry on SIGKILL because the oomkiller might have stopped the process
439439
};
440440
} catch (error) {
441441
return { status: BB_RESULT.FAILURE, reason: `${error}` };

0 commit comments

Comments
 (0)