fix bugs; move to gocron for scheduled jobs

This commit is contained in:
Mukhtar Akere
2025-04-21 23:23:35 +01:00
parent a27c5dd491
commit 32935ce3aa
15 changed files with 308 additions and 248 deletions

View File

@@ -174,6 +174,10 @@ func startServices(ctx context.Context) error {
return worker.Start(ctx)
})
safeGo(func() error {
return svc.Arr.StartSchedule(ctx)
})
if cfg.Repair.Enabled {
safeGo(func() error {
err := svc.Repair.Start(ctx)