mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-25 15:38:21 -05:00
make format happy
This commit is contained in:
parent
4b70a74ff6
commit
ea013e718e
@ -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,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user