diff --git a/agent/smart.go b/agent/smart.go index 91bf7df2..94cd23ab 100644 --- a/agent/smart.go +++ b/agent/smart.go @@ -171,7 +171,7 @@ func (sm *SmartManager) ScanDevices(force bool) error { configuredDevices = parsedDevices } - ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) + ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) defer cancel() cmd := exec.CommandContext(ctx, sm.binPath, "--scan", "-j")