change max expiry to 1 hour

master
Ondřej Hruška 4 years ago
parent 5e24b70460
commit a2311ab164
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      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,

Loading…
Cancel
Save