为asynq历史任务在redis中添加生命周期,过期时间为订单过期时间

This commit is contained in:
dev
2026-01-27 12:18:32 +08:00
parent 14435ba426
commit 9def1ec447
9 changed files with 55 additions and 18 deletions
+2
View File
@@ -3,6 +3,8 @@ FROM golang:alpine AS builder
RUN apk add --no-cache --update git build-base
ENV CGO_ENABLED=1
WORKDIR /app
COPY ./src/go.mod ./src/go.sum ./
RUN go mod download
COPY ./src .
RUN go mod tidy \