Skip to content

Commit 4e455e9

Browse files
committed
minor refactoring
Signed-off-by: Maroon Ayoub <[email protected]>
1 parent 8bfbdfb commit 4e455e9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/kvevents/pool.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import (
3333
const (
3434
defaultEventSourceDeviceTier = "GPU"
3535
defaultPodSelector = "llm-d.ai/inferenceServing=true"
36-
defaultTopicFilter = "kv@"
3736
)
3837

3938
// Config holds the configuration for the event processing pool.
@@ -79,7 +78,7 @@ func DefaultPodReconcilerConfig() *PodDiscoveryConfig {
7978
func DefaultConfig() *Config {
8079
return &Config{
8180
TopicFilter: "kv@",
82-
Concurrency: 16,
81+
Concurrency: 4,
8382
DiscoverPods: true,
8483
PodDiscoveryConfig: DefaultPodReconcilerConfig(),
8584
}
@@ -130,7 +129,7 @@ func NewPool(cfg *Config, index kvblock.Index, tokenProcessor kvblock.TokenProce
130129
return p
131130
}
132131

133-
// Start begins the worker pool and the global ZMQ subscriber if configured.
132+
// Start begins the worker pool.
134133
// It is non-blocking.
135134
func (p *Pool) Start(ctx context.Context) {
136135
logger := log.FromContext(ctx)

0 commit comments

Comments
 (0)