let's see if we can raise the limit on credentials now that
the performance issues have been partially addressed.
This commit is contained in:
bunnie 2022-08-02 01:45:39 +08:00
parent e32ea1e32f
commit 6b53688249

View file

@ -67,11 +67,8 @@ pub(crate) const CRED_INITAL_SIZE: usize = 512;
const NUM_PAGES: usize = 20;
/// The limit is based on the performance of the PDDB to get a query response within
/// the compliance time-out limit. Optimization is needed to improve this number!
///
/// Note: this might have been fixed with 6f849af2a23e99c98baa4d89ccf07261f4af7854, found
/// a busy-wait regression in an prerequisites server that would explain the slowdown.
const MAX_SUPPORTED_RESIDENTIAL_KEYS: usize = 32;
/// the compliance time-out limit. Note that most keys support about 25 credentials.
const MAX_SUPPORTED_RESIDENTIAL_KEYS: usize = 150;
const MAX_PIN_RETRIES: u8 = 8;
#[cfg(feature = "with_ctap2_1")]