small improvements

This commit is contained in:
bronku 2026-06-11 09:10:27 +02:00
parent bb32802324
commit 5f2d6f00bc
10 changed files with 117 additions and 178 deletions

View file

@ -1,6 +1,7 @@
package store
import (
"slices"
"testing"
"time"
@ -284,10 +285,5 @@ mainLoop:
}
}
}
for _, e := range matched {
if e == false {
return false
}
}
return true
return !slices.Contains(matched, false)
}