0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-12-22 20:38:22 -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 aggregator_config = if production_use {
AggreatorConfig {
random_delay: true,
}
AggreatorConfig { random_delay: true }
} else {
AggreatorConfig {
random_delay: false,
@ -68,7 +66,7 @@ impl Config {
globals.get::<_, String>("colorscheme")?,
),
redis_connection_url: globals.get::<_, String>("redis_connection_url")?,
aggregator: aggregator_config
aggregator: aggregator_config,
})
})
}