We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
version_id_cache_size
1 parent e6210ba commit 900b3e0Copy full SHA for 900b3e0
src/config.rs
@@ -9,7 +9,7 @@ pub use self::database_pools::DatabasePools;
9
use std::collections::HashSet;
10
use std::time::Duration;
11
12
-const DEFAULT_VERSION_ID_CACHE_SIZE: usize = 10_000;
+const DEFAULT_VERSION_ID_CACHE_SIZE: u64 = 10_000;
13
const DEFAULT_VERSION_ID_CACHE_TTL: u64 = 5 * 60; // 5 minutes
14
15
pub struct Server {
@@ -34,7 +34,7 @@ pub struct Server {
34
pub instance_metrics_log_every_seconds: Option<u64>,
35
pub force_unconditional_redirects: bool,
36
pub blocked_routes: HashSet<String>,
37
- pub version_id_cache_size: usize,
+ pub version_id_cache_size: u64,
38
pub version_id_cache_ttl: Duration,
39
}
40
0 commit comments