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.
This commit is contained in:
bunnie 2021-06-30 19:05:20 +08:00
parent 25ea2c9cf9
commit 3f08dcccee

View file

@ -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);