Skip to content

Commit 7fa2717

Browse files
committed
node: Make 'graphman config pools' work again
Code that unconditionally set the pool size for graphman to 5 snuck in. Remove that code since the code right after that handles using only a small number of connections from `graphman` more intelligently and in a way that lest 'graphman config pools' still work.
1 parent a7482d6 commit 7fa2717

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

node/src/bin/manager.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,11 +1150,6 @@ async fn main() -> anyhow::Result<()> {
11501150
);
11511151

11521152
let mut config = Cfg::load(&logger, &opt.clone().into()).context("Configuration error")?;
1153-
config.stores.iter_mut().for_each(|(_, shard)| {
1154-
shard.pool_size = PoolSize::Fixed(5);
1155-
shard.fdw_pool_size = PoolSize::Fixed(5);
1156-
});
1157-
11581153
if opt.pool_size > 0 && !opt.cmd.use_configured_pool_size() {
11591154
// Override pool size from configuration
11601155
for shard in config.stores.values_mut() {

0 commit comments

Comments
 (0)