XFFXFF commited on
Commit
ea013e7
·
1 Parent(s): 4b70a74

make format happy

Browse files
Files changed (1) hide show
  1. src/config_parser/parser.rs +2 -4
src/config_parser/parser.rs CHANGED
@@ -51,9 +51,7 @@ impl Config {
51
 
52
  let production_use = globals.get::<_, bool>("production_use")?;
53
  let aggregator_config = if production_use {
54
- AggreatorConfig {
55
- random_delay: true,
56
- }
57
  } else {
58
  AggreatorConfig {
59
  random_delay: false,
@@ -68,7 +66,7 @@ impl Config {
68
  globals.get::<_, String>("colorscheme")?,
69
  ),
70
  redis_connection_url: globals.get::<_, String>("redis_connection_url")?,
71
- aggregator: aggregator_config
72
  })
73
  })
74
  }
 
51
 
52
  let production_use = globals.get::<_, bool>("production_use")?;
53
  let aggregator_config = if production_use {
54
+ AggreatorConfig { random_delay: true }
 
 
55
  } else {
56
  AggreatorConfig {
57
  random_delay: false,
 
66
  globals.get::<_, String>("colorscheme")?,
67
  ),
68
  redis_connection_url: globals.get::<_, String>("redis_connection_url")?,
69
+ aggregator: aggregator_config,
70
  })
71
  })
72
  }