mirror of
https://github.com/neondatabase/neon.git
synced 2026-10-30 07:17:22 +00:00
also use parse_toml_bool for trace_read_requests
This commit is contained in:
@@ -662,9 +662,7 @@ impl PageServerConf {
|
||||
}
|
||||
if let Some(trace_read_requests) = item.get("trace_read_requests") {
|
||||
t_conf.trace_read_requests =
|
||||
Some(trace_read_requests.as_bool().with_context(|| {
|
||||
"configure option trace_read_requests is not a bool".to_string()
|
||||
})?);
|
||||
Some(parse_toml_bool("trace_read_requests", trace_read_requests)?);
|
||||
}
|
||||
|
||||
Ok(t_conf)
|
||||
|
||||
Reference in New Issue
Block a user