cmd/mbf: disable threshold by default
Some checks failed
Test / Flake checks (push) Has been cancelled
Test / Sandbox (race detector) (push) Has been cancelled
Test / ShareFS (push) Has been cancelled
Test / Hakurei (push) Has been cancelled
Test / Hakurei (race detector) (push) Has been cancelled
Test / Hpkg (push) Has been cancelled
Test / Sandbox (push) Has been cancelled
Test / Create distribution (push) Has been cancelled
Some checks failed
Test / Flake checks (push) Has been cancelled
Test / Sandbox (race detector) (push) Has been cancelled
Test / ShareFS (push) Has been cancelled
Test / Hakurei (push) Has been cancelled
Test / Hakurei (race detector) (push) Has been cancelled
Test / Hpkg (push) Has been cancelled
Test / Sandbox (push) Has been cancelled
Test / Create distribution (push) Has been cancelled
This is not very useful. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -62,10 +62,13 @@ func main() {
|
||||
return
|
||||
}
|
||||
if cache, err = pkg.Open(ctx, msg, flagCures, base); err == nil {
|
||||
if flagTShift < 0 || flagTShift > 31 {
|
||||
flagTShift = 31
|
||||
if flagTShift < 0 {
|
||||
cache.SetThreshold(0)
|
||||
} else if flagTShift > 31 {
|
||||
cache.SetThreshold(1 << 31)
|
||||
} else {
|
||||
cache.SetThreshold(1 << flagTShift)
|
||||
}
|
||||
cache.SetThreshold(1 << flagTShift)
|
||||
}
|
||||
return
|
||||
}).Flag(
|
||||
|
||||
Reference in New Issue
Block a user