diff --git a/admin/api/health.go b/admin/api/health.go index 1340d016..202ad7ac 100644 --- a/admin/api/health.go +++ b/admin/api/health.go @@ -56,6 +56,10 @@ func getHealth(pathname string) (ret []healthFileReport) { if d.IsDir() && d.Name() != ".tmp" && d.Mode()&os.ModeSymlink == 0 { ret = append(ret, getHealth(p)...) } else if !d.IsDir() && d.Mode()&os.ModeSymlink == 0 && time.Since(d.ModTime()) > 2*time.Second { + if d.Name() == ".locked" { + continue + } + teamDir := strings.TrimPrefix(pathname, TimestampCheck) idteam, _ := pki.GetAssociation(path.Join(TeamsDir, teamDir)) ret = append(ret, healthFileReport{