summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2018-04-14 19:16:16 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2018-04-14 19:16:16 +0100
commit94a4227b8a8f8a43bbb188fe1da91a72c0f56213 (patch)
tree9114220f09445931190ba10865130670e6b62752
parent257abdc879b7f52abe433bc678e2913c96647003 (diff)
downloadcanopied-94a4227b8a8f8a43bbb188fe1da91a72c0f56213.tar.bz2
Change to 50ms, bus load still pretty low
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 1866813..07df2f4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -81,8 +81,8 @@ fn main() {
trace!("Preparing an Interval to run the requests");
let always_defs = futures::stream::iter_ok(CadencedECUs::new());
- let every_100ms = Interval::new(Instant::now(), Duration::from_millis(100));
- let zipped = every_100ms.zip(always_defs);
+ let every_50ms = Interval::new(Instant::now(), Duration::from_millis(50));
+ let zipped = every_50ms.zip(always_defs);
tokio::spawn(zipped.map_err(|_| ()).for_each(move |(_, def)| {
let req = def.request();