|
|
@ -51,7 +51,7 @@ impl Default for Config { |
|
|
|
host: "0.0.0.0".to_string(), |
|
|
|
host: "0.0.0.0".to_string(), |
|
|
|
port: 7745, |
|
|
|
port: 7745, |
|
|
|
default_expiry: Duration::from_secs(60 * 10), |
|
|
|
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), |
|
|
|
expired_gc_interval: Duration::from_secs(60), |
|
|
|
max_file_size: 1 * (1024 * 1024), // 1MB
|
|
|
|
max_file_size: 1 * (1024 * 1024), // 1MB
|
|
|
|
persistence: false, |
|
|
|
persistence: false, |
|
|
|