Skip to content

Commit

Permalink
Merge pull request #88 from olimart/patch-1
Browse files Browse the repository at this point in the history
Fix typo in README.md
  • Loading branch information
jonathanhefner committed Oct 2, 2023
2 parents 22f8507 + 6e0bafa commit 49c9690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ For more information on cache clusters see [Sharding the cache](#sharding-the-ca

### Cache expiry

Solid Cache tracks writes to the cache. For every write it increments a counter by 1. Once the counter reaches 80% of the `expiry_batch_size` it add a task to run on a background thread. That task will:
Solid Cache tracks writes to the cache. For every write it increments a counter by 1. Once the counter reaches 80% of the `expiry_batch_size` it adds a task to run on a background thread. That task will:

1. Check if we have exceeded the `max_entries` value (if set) by subtracting the max and min IDs from the `SolidCache::Entry` table (this is an estimate that ignores any gaps).
2. If we have it will delete `expiry_batch_size` entries
Expand Down

0 comments on commit 49c9690

Please sign in to comment.