mirror of
https://github.com/whyour/qinglong.git
synced 2025-12-13 07:25:05 +08:00
When a subscription is disabled, the associated cron tasks (created by the subscription) were still running and updating scripts. This fix ensures that: - When disabling a subscription, all cron tasks with matching sub_id are also disabled - When enabling a subscription, all cron tasks with matching sub_id are also enabled This addresses the actual root cause: subscription tasks don't run when disabled (as the owner correctly pointed out), but the cron tasks created by those subscriptions were still active. Co-authored-by: whyour <22700758+whyour@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| api | ||
| config | ||
| data | ||
| interface | ||
| loaders | ||
| middlewares | ||
| protos | ||
| schedule | ||
| services | ||
| shared | ||
| types | ||
| validation | ||
| app.ts | ||
| token.ts | ||
| tsconfig.json | ||