Skip to content

Commit

Permalink
increase minimum sleep interval for gc to 60 secs
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Jun 5, 2024
1 parent 9c202c6 commit 312056f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-io/src/file_cache/eviction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub(super) struct EvictionManager {
impl EvictionManager {
pub(super) fn run_in_background(mut self) {
let verbose = config::verbose();
let sleep_interval = std::cmp::max(self.limit_since_last_access.as_secs() / 4, 7);
let sleep_interval = std::cmp::max(self.limit_since_last_access.as_secs() / 4, 60);

if verbose {
eprintln!(
Expand Down

0 comments on commit 312056f

Please sign in to comment.