From 9c0c7cf0b2d386eb8c0d13069382d8110a5a6ced Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 10 Dec 2023 15:40:38 -0500 Subject: [PATCH] config oops --- doc/config/sample.config | 2 +- doc/config/veilid-server-config.md | 2 +- veilid-core/src/intf/native/protected_store.rs | 2 +- veilid-core/src/veilid_config.rs | 1 + veilid-wasm/tests/src/utils/veilid-config.ts | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/config/sample.config b/doc/config/sample.config index fe324081..5d930075 100644 --- a/doc/config/sample.config +++ b/doc/config/sample.config @@ -90,7 +90,7 @@ core: remote_max_storage_space_mb: 0 public_watch_limit: 32 member_watch_limit: 8 - + max_watch_expiration_ms: 600000 upnp: true detect_address_changes: true restricted_nat_retries: 0 diff --git a/doc/config/veilid-server-config.md b/doc/config/veilid-server-config.md index 69b44c10..9489a6bb 100644 --- a/doc/config/veilid-server-config.md +++ b/doc/config/veilid-server-config.md @@ -257,7 +257,7 @@ dht: remote_max_storage_space_mb: 0 public_watch_limit: 32 member_watch_limit: 8 - + max_watch_expiration_ms: 600000 ``` #### core:network:tls diff --git a/veilid-core/src/intf/native/protected_store.rs b/veilid-core/src/intf/native/protected_store.rs index c952d9c5..06851411 100644 --- a/veilid-core/src/intf/native/protected_store.rs +++ b/veilid-core/src/intf/native/protected_store.rs @@ -57,7 +57,7 @@ impl ProtectedStore { inner.keyring_manager = match maybe_km { Ok(v) => Some(v), Err(e) => { - log_pstore!(error "Failed to create secure keyring manager: {}", e); + info!("Secure key storage service unavailable, falling back to direct disk-based storage: {}", e); None } }; diff --git a/veilid-core/src/veilid_config.rs b/veilid-core/src/veilid_config.rs index 19830002..0e1a9f4d 100644 --- a/veilid-core/src/veilid_config.rs +++ b/veilid-core/src/veilid_config.rs @@ -763,6 +763,7 @@ impl VeilidConfig { get_config!(inner.network.dht.remote_max_storage_space_mb); get_config!(inner.network.dht.public_watch_limit); get_config!(inner.network.dht.member_watch_limit); + get_config!(inner.network.dht.max_watch_expiration_ms); get_config!(inner.network.rpc.concurrency); get_config!(inner.network.rpc.queue_size); get_config!(inner.network.rpc.max_timestamp_behind_ms); diff --git a/veilid-wasm/tests/src/utils/veilid-config.ts b/veilid-wasm/tests/src/utils/veilid-config.ts index 3ebdc777..44eed767 100644 --- a/veilid-wasm/tests/src/utils/veilid-config.ts +++ b/veilid-wasm/tests/src/utils/veilid-config.ts @@ -90,6 +90,7 @@ export const veilidCoreStartupConfig = { remote_max_storage_space_mb: 0, public_watch_limit: 32, member_watch_limit: 8, + max_watch_expiration_ms: 600000, }, upnp: true, detect_address_changes: true,