Skip to content

Commit

Permalink
adjust default cache parameter for feed_cache
Browse files Browse the repository at this point in the history
  • Loading branch information
shouya committed Sep 28, 2024
1 parent 916dce0 commit 05f26fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filter_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub struct FilterCache {
impl FilterCache {
pub fn new() -> Self {
Self {
feed_cache: TimedLruCache::new(1, Duration::from_secs(12 * 3600)),
feed_cache: TimedLruCache::new(5, Duration::from_secs(12 * 3600)),
post_cache: TimedLruCache::new(40, Duration::from_secs(3600)),
}
}
Expand Down

0 comments on commit 05f26fb

Please sign in to comment.