Skip to content
Closed
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion packages/das/src/queue/fetch.processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ export class FetchProcessor extends WorkerHost {
expectedBaseSha,
),
removeOnComplete: true,
removeOnFail: 50,
// Match PR_METADATA (#75/#118) — failed files jobs must not squat
// on the stable per-SHA jobId (#124).
removeOnFail: true,
attempts: 3,
backoff: { type: "exponential", delay: 5000 },
},
Expand Down
4 changes: 3 additions & 1 deletion packages/das/src/webhook/handlers/pull-request.handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ export class PullRequestHandler {
{
jobId,
removeOnComplete: true,
removeOnFail: 50,
// Match PR_METADATA (#75/#118) — failed files jobs must not squat
// on the stable per-SHA jobId (#124).
removeOnFail: true,
attempts: 3,
backoff: { type: "exponential", delay: 5000 },
},
Expand Down