Explorer API - reduce cache time to 60 seconds

This commit is contained in:
Mark Sinclair
2022-04-25 14:19:55 +01:00
parent 8318002b0a
commit dbfeaff661
+1 -1
View File
@@ -1,7 +1,7 @@
use std::collections::HashMap;
use std::time::{Duration, SystemTime};
const DEFAULT_CACHE_VALIDITY: Duration = Duration::from_secs(60 * 30);
const DEFAULT_CACHE_VALIDITY: Duration = Duration::from_secs(60);
#[derive(Clone)]
pub(crate) struct Cache<T: Clone> {