mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
Set max_workers to 4 in sims
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user