mirror of
https://github.com/whyour/qinglong.git
synced 2025-12-15 08:25:38 +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> |
||
|---|---|---|
| .. | ||
| config.ts | ||
| cron.ts | ||
| cronView.ts | ||
| dependence.ts | ||
| env.ts | ||
| grpc.ts | ||
| health.ts | ||
| http.ts | ||
| log.ts | ||
| metrics.ts | ||
| notify.ts | ||
| open.ts | ||
| schedule.ts | ||
| script.ts | ||
| sock.ts | ||
| sshKey.ts | ||
| subscription.ts | ||
| system.ts | ||
| user.ts | ||