engine: remove default error threshold

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-06-30 12:44:53 +03:00
parent c5bd51e934
commit f9eb15254e

View file

@ -81,14 +81,10 @@ type cfg struct {
shardPoolSize uint32
}
const defaultErrorThreshold = 30
func defaultCfg() *cfg {
return &cfg{
log: zap.L(),
errorsThreshold: defaultErrorThreshold,
shardPoolSize: 20,
}
}