increase default character limit (#530)

fix #524
This commit is contained in:
fdb-hiroshima 2019-04-19 13:00:39 +02:00 committed by Baptiste Gelez
parent 3d82265b85
commit 4d4f2ba6ed

View File

@ -33,7 +33,7 @@ fn get_rocket_config() -> Result<RocketConfig, RocketError> {
.unwrap_or(7878); .unwrap_or(7878);
let secret_key = var("ROCKET_SECRET_KEY").map_err(|_| RocketError::InvalidSecretKey)?; let secret_key = var("ROCKET_SECRET_KEY").map_err(|_| RocketError::InvalidSecretKey)?;
let form_size = var("FORM_SIZE") let form_size = var("FORM_SIZE")
.unwrap_or_else(|_| "32".to_owned()) .unwrap_or_else(|_| "128".to_owned())
.parse::<u64>() .parse::<u64>()
.unwrap(); .unwrap();
let activity_size = var("ACTIVITY_SIZE") let activity_size = var("ACTIVITY_SIZE")