Skip to content

Commit 51fb8c1

Browse files
oglokvMaroon
authored andcommitted
Use default block size constant
Signed-off-by: Ricardo Noriega De Soto <rnoriega@redhat.com>
1 parent cedf91d commit 51fb8c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (c *Config) LoadConfig() {
9191

9292
c.PDEnabled = env.GetEnvString(pdEnabledEnvKey, "false", c.logger) == "true"
9393
c.PDThreshold = env.GetEnvInt(pdPromptLenThresholdEnvKey, pdPromptLenThresholdDefault, c.logger)
94-
c.PrefixBlockSize = env.GetEnvInt(prefixScorerBlockSizeEnvKey, 256, c.logger)
94+
c.PrefixBlockSize = env.GetEnvInt(prefixScorerBlockSizeEnvKey, prefixScorerBlockSizeDefault, c.logger)
9595
}
9696

9797
func (c *Config) loadPluginInfo(plugins map[string]int, prefill bool, pluginNames ...string) {

0 commit comments

Comments
 (0)