From ee0f443883e342e7861d11c0b88d6afb14b4f7c0 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 6 May 2022 04:00:20 +0800 Subject: [PATCH] hoist net thread exhaustion check to before we check the poll interval --- services/pddb/src/api.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/pddb/src/api.rs b/services/pddb/src/api.rs index cd9e1c59e..d6fdd4163 100644 --- a/services/pddb/src/api.rs +++ b/services/pddb/src/api.rs @@ -39,8 +39,8 @@ pub(crate) const PDDB_VERSION: u32 = 0x00_00_02_01; #[allow(dead_code)] // PDDB_A_LEN may be shorter than xous::PDDB_LEN, to speed up testing. #[allow(dead_code)] -pub(crate) const PDDB_A_LEN: usize = xous::PDDB_LEN as usize; -// pub(crate) const PDDB_A_LEN: usize = 4 * 1024 * 1024; +// pub(crate) const PDDB_A_LEN: usize = xous::PDDB_LEN as usize; +pub(crate) const PDDB_A_LEN: usize = 4 * 1024 * 1024; /// range for the starting point of a journal number, picked from a random seed /// the goal is to reduce info leakage about the age of structures relative to each other