Skip to content

Commit

Permalink
chore: Update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
patroza committed Oct 5, 2024
1 parent e1be340 commit 14a2b87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/infra/src/services/QueueMaker/SQLQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,9 @@ export function makeSQLQueue<
if (first) {
const dec = yield* decodeDrain(first)
const { createdAt, updatedAt, ...rest } = dec
yield* drainRepo.updateVoid(
return yield* drainRepo.update(
Drain.update.make({ ...rest, processingAt: Option.some(new Date()) }) // auto in lib , etag: randomUUID()
)
return dec
}
if (first) return first
yield* Effect.sleep(250)
Expand Down

0 comments on commit 14a2b87

Please sign in to comment.