Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Offload background task scheduling to the api backend #15

@SpoopyTim

Description

@SpoopyTim

Developer Issue

Need to move some long-running background tasks to the api incase the bot goes down, will save having to read and write every minute to the database and will probs run over ipc meaning that no "heartbeat" requests are needed, only a final request over ipc once the task has completed and maybe optional checkup requests from the bot's end to see how long is left or the progress of the task (think like breakpoints, if the task has progressed half way through the code it needs to run then after requesting progress from the bot it will be like {"progress": {"stage": 2, "max": 4, "timeleft": "2021-11-07T00:20:13Z"}})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions