Set max_workers to 4 in sims

This commit is contained in:
Paul Hauner
2023-07-07 14:20:45 +10:00
parent e03017dfad
commit 596df1850d

View File

@@ -108,6 +108,11 @@ pub fn testing_client_config() -> ClientConfig {
genesis_time: now,
};
// Specify a constant count of beacon processor workers. Having this number
// too low can cause annoying HTTP timeouts, especially on Github runners
// with 2 logical CPUs.
client_config.beacon_processor.max_workers = 4;
client_config
}