From 287adfc6f8f1b548aacb005b5f4ccf18caef40ed Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 1 Jul 2024 17:53:55 +0200 Subject: randomize customer timeout --- server/src/customer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src') diff --git a/server/src/customer/mod.rs b/server/src/customer/mod.rs index f90b2eb2..c9b45160 100644 --- a/server/src/customer/mod.rs +++ b/server/src/customer/mod.rs @@ -145,7 +145,7 @@ impl DemandState { )); p.state = CustomerState::Waiting { chair: *chair, - timeout: 60., + timeout: 60. + random::() * 30., demand, }; } -- cgit v1.2.3-70-g09d2