Skip to content

Commit

Permalink
explicit 1
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Jul 19, 2024
1 parent 79a1c12 commit 0b0cb85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/meta/node/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ pub async fn start_service_as_election_leader(
prometheus_client,
prometheus_selector,
metadata_manager: metadata_manager.clone(),
compute_clients: ComputeClientPool::adhoc(),
compute_clients: ComputeClientPool::new(1), // typically no need for plural clients
diagnose_command,
trace_state,
};
Expand Down
2 changes: 1 addition & 1 deletion src/meta/src/manager/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ impl MetaSrvEnv {
meta_store_impl: MetaStoreImpl,
) -> MetaResult<Self> {
let idle_manager = Arc::new(IdleManager::new(opts.max_idle_ms));
let stream_client_pool = Arc::new(StreamClientPool::adhoc());
let stream_client_pool = Arc::new(StreamClientPool::new(1)); // typically no need for plural clients
let event_log_manager = Arc::new(start_event_log_manager(
opts.event_log_enabled,
opts.event_log_channel_max_size,
Expand Down

0 comments on commit 0b0cb85

Please sign in to comment.