Skip to content

Commit

Permalink
fix: decreasing the cache to 1 day
Browse files Browse the repository at this point in the history
  • Loading branch information
geekbrother committed Jan 21, 2025
1 parent 76bf6a5 commit 6c9537d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/balance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use {
pub const H160_EMPTY_ADDRESS: H160 = H160::repeat_byte(0xee);

const PROVIDER_MAX_CALLS: usize = 2;
const METADATA_CACHE_TTL: Duration = Duration::from_secs(60 * 60 * 24 * 7); // 1 week
const METADATA_CACHE_TTL: Duration = Duration::from_secs(60 * 60 * 24); // 1 day

#[derive(Debug, Deserialize, Clone)]
#[serde(rename_all = "camelCase")]
Expand Down

0 comments on commit 6c9537d

Please sign in to comment.