fix(scanner): rescan packages on remote storage via ScanFile

This commit is contained in:
2026-11-23 14:26:35 +00:00
parent 9b4659218c
commit a84f080b79
5 changed files with 101 additions and 31 deletions
+1 -1
View File
@@ -314,7 +314,7 @@ func (a *App) initializeComponents() error {
// Initialize rescan worker if enabled
if a.config.Security.Enabled && a.config.Security.RescanInterval > 0 {
log.Info().Dur("interval", a.config.Security.RescanInterval).Msg("Initializing package rescan worker")
a.rescanWorker = scanner.NewRescanWorker(a.scanManager, a.metadata, a.storage, a.config.Security.RescanInterval)
a.rescanWorker = scanner.NewRescanWorker(a.scanManager, a.metadata, a.config.Security.RescanInterval)
}
// Initialize WebSocket server