Skip to content

Commit 82933a5

Browse files
committed
don't try to exit run in dev
1 parent 3c7ff85 commit 82933a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/v3/services/completeAttempt.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ export class CompleteAttemptService extends BaseService {
317317

318318
// The attempt has failed and we won't retry
319319

320-
if (isOOMAttempt && isOnMaxOOMMachine) {
320+
if (isOOMAttempt && isOnMaxOOMMachine && environment.type !== "DEVELOPMENT") {
321321
// The attempt failed due to an OOM error but we're already on the machine we should retry on
322322
exitRun(taskRunAttempt.taskRunId);
323323
}

0 commit comments

Comments
 (0)