• feat(task): introduce task timeout configuration and cleanup unfinished tasks
    Some checks failed
    Publish Docker image (Multi Registries, native amd64+arm64) / Build & push (amd64) [native] (push) Has been cancelled
    Publish Docker image (Multi Registries, native amd64+arm64) / Build & push (arm64) [native] (push) Has been cancelled
    Publish Docker image (Multi Registries, native amd64+arm64) / Create multi-arch manifests (Docker Hub) (push) Has been cancelled

    Ghost released this 2026-02-22 17:59:38 +08:00 | 433 commits to main since this release

    • Added TaskTimeoutMinutes constant to configure the timeout duration for asynchronous tasks.
    • Implemented sweepTimedOutTasks function to identify and handle unfinished tasks that exceed the timeout limit, marking them as failed and processing refunds if applicable.
    • Enhanced task polling loop to include the new timeout handling logic, ensuring timely cleanup of stale tasks.
    Downloads