Skip to content

Commit 07fa8af

Browse files
committed
also use the readOnlyPrisma client when reading in the retrying logic
1 parent 0cb23c8 commit 07fa8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal-packages/run-engine/src/engine/systems/runAttemptSystem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ export class RunAttemptSystem {
899899

900900
const failedAt = new Date();
901901

902-
const retryResult = await retryOutcomeFromCompletion(prisma, {
902+
const retryResult = await retryOutcomeFromCompletion(this.$.readOnlyPrisma, {
903903
runId,
904904
error: completion.error,
905905
retryUsingQueue: forceRequeue ?? false,

0 commit comments

Comments
 (0)