Skip to content

Commit 584d875

Browse files
committed
Widens speed range of cars
1 parent a34e203 commit 584d875

File tree

1 file changed

+1
-1
lines changed
  • example_apps/aggregations/src

1 file changed

+1
-1
lines changed

example_apps/aggregations/src/car.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl CarLifecycle {
5555

5656
let speed_handler = context.schedule_repeatedly(Duration::from_secs(5), move || {
5757
let mut rng = rand::rngs::OsRng::default();
58-
Some(context.set_value(CarAgent::SPEED, rng.gen_range(10..=30)))
58+
Some(context.set_value(CarAgent::SPEED, rng.gen_range(10..=70)))
5959
});
6060
let car_handler = move |car_id: u64| {
6161
context.schedule_repeatedly(Duration::from_secs(1), move || {

0 commit comments

Comments
 (0)