Configuration and environment variable improvements (#4613) * Move env utilities to `nano::env::...` * Env get_int helpers * Hardware concurrency override * App path override * Convert legacy calls to `nano::env::get (...)` * Use generic get * Inform about environment overrides * Consteval sanitizer info * Print stats logging info * Replace `get_env_threshold_or_default` * Allow overriding io threads from env variable * Ensure configured thread counts are in reasonable ranges * Use `std::clamp`
__________
Type: commit
Hash: 147a375e28a35de6aa31dfb41155b1b58f8f51a6
Created: 245 day(s) ago
__________
gr0v1ty/nano-node:147a375e28a35de6aa31dfb41155b1b58f8f51a6
Test Case | Status | Duration | Median Deviation | Log | Graph |
---|---|---|---|---|---|
5n4pr_conf_10k_bintree | PASS | 108 s | -5.5 s | - | Show |
5n4pr_conf_10k_change | PASS | 125 s | -22.0 s | - | Show |
5n4pr_conf_change_dependant | PASS | 147 s | 11.0 s | - | - |
5n4pr_conf_change_independant | PASS | 166 s | 34.0 s | - | - |
5n4pr_conf_send_independant | PASS | 134 s | 8.0 s | - | - |