From a2311ab164d96e7474f9071c82bc1a3b250b7b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sun, 10 May 2020 21:39:59 +0200 Subject: [PATCH] change max expiry to 1 hour --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index cf6a0f4..a6bdca9 100644 --- a/src/config.rs +++ b/src/config.rs @@ -51,7 +51,7 @@ impl Default for Config { host: "0.0.0.0".to_string(), port: 7745, default_expiry: Duration::from_secs(60 * 10), - max_expiry: Duration::from_secs(60 * 10), + max_expiry: Duration::from_secs(3600), expired_gc_interval: Duration::from_secs(60), max_file_size: 1 * (1024 * 1024), // 1MB persistence: false,