allow 0 for socket_pool_size

This commit is contained in:
John Smith
2021-12-09 16:27:17 -05:00
parent 73104a81aa
commit 2f6237c5e6
2 changed files with 13 additions and 9 deletions

View File

@@ -862,9 +862,16 @@ impl Settings {
.to_string_lossy()
.to_string(),
)),
"network.protocol.wss.url" => {
Ok(Box::new(inner.core.network.protocol.wss.url.clone()))
}
"network.protocol.wss.url" => Ok(Box::new(
inner
.core
.network
.protocol
.wss
.url
.as_ref()
.map(|a| a.urlstring.clone()),
)),
"network.leases.max_server_signal_leases" => {
Ok(Box::new(inner.core.network.leases.max_server_signal_leases))
}