diff options
author | Taha HADMI <taha.hamdi@qorvo.com> | 2022-02-18 01:03:50 +0100 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2022-02-25 19:29:24 +0000 |
commit | bf494c749999349deb9ad3b0d5cf3a96f9658a7d (patch) | |
tree | ab89ea81751964ad87636920574c0fae992541ba /src | |
parent | 36e68e44a1af95d6a57da25374ca51e883104218 (diff) | |
download | uwb-bf494c749999349deb9ad3b0d5cf3a96f9658a7d.tar.gz |
Increase retry timeout to 800 ms
Bug: 221164955
Test: Manual steps
Signed-off-by: Taha HADMI <taha.hamdi@qorvo.com>
Change-Id: I2ee391b0fcff28295215f732aebc1e842b77deaa
Diffstat (limited to 'src')
-rw-r--r-- | src/rust/uci/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rust/uci/mod.rs b/src/rust/uci/mod.rs index b899db7..6c0cad1 100644 --- a/src/rust/uci/mod.rs +++ b/src/rust/uci/mod.rs @@ -205,8 +205,8 @@ async fn drive<T: EventManager + Send + Sync>( Driver::new(Arc::new(adaptation), event_manager, cmd_receiver, rsp_receiver).drive().await } -const MAX_RETRIES: usize = 10; -const RETRY_DELAY_MS: u64 = 300; +const MAX_RETRIES: usize = 5; +const RETRY_DELAY_MS: u64 = 800; impl<T: EventManager> Driver<T> { fn new( |