From 3f08dccceea55267be86e3521e837d1654937e9d Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 30 Jun 2021 19:05:20 +0800 Subject: [PATCH] increase the susres timeout to be less aggressive now that we have auto-clock throttling, fast SR cycles are not as critical to power saving. They are more a mechanism to be invoked based on user command, not automatically, and thus it's not as critical to shut things down ungracefully if the CPU is heavily loaded. --- services/susres/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/susres/src/main.rs b/services/susres/src/main.rs index e73d3534c..a53c1cca6 100644 --- a/services/susres/src/main.rs +++ b/services/susres/src/main.rs @@ -403,7 +403,7 @@ enum TimeoutOpcode { Drop, } -static TIMEOUT_TIME: AtomicU32 = AtomicU32::new(500); +static TIMEOUT_TIME: AtomicU32 = AtomicU32::new(2000); static TIMEOUT_CONN: AtomicU32 = AtomicU32::new(0); pub fn timeout_thread(sid0: usize, sid1: usize, sid2: usize, sid3: usize) { let sid = xous::SID::from_u32(sid0 as u32, sid1 as u32, sid2 as u32, sid3 as u32);