0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 05:58:21 -05:00

make format happy

This commit is contained in:
XFFXFF 2023-05-23 10:00:35 +00:00
parent 4b70a74ff6
commit ea013e718e

View File

@ -51,9 +51,7 @@ impl Config {
let production_use = globals.get::<_, bool>("production_use")?; let production_use = globals.get::<_, bool>("production_use")?;
let aggregator_config = if production_use { let aggregator_config = if production_use {
AggreatorConfig { AggreatorConfig { random_delay: true }
random_delay: true,
}
} else { } else {
AggreatorConfig { AggreatorConfig {
random_delay: false, random_delay: false,
@ -68,7 +66,7 @@ impl Config {
globals.get::<_, String>("colorscheme")?, globals.get::<_, String>("colorscheme")?,
), ),
redis_connection_url: globals.get::<_, String>("redis_connection_url")?, redis_connection_url: globals.get::<_, String>("redis_connection_url")?,
aggregator: aggregator_config aggregator: aggregator_config,
}) })
}) })
} }