Skip to content

Commit

Permalink
Implement a file handle cache (#54)
Browse files Browse the repository at this point in the history
* Implement a file handle cache

To prevent constantly opening and closing in calls to cat_file.
Also, fix up the vector read size code to work correctly

lint

* Try to fire and forget sync close

* No TTL yet but the tests pass

* Implement TTL, but not checked in a watch loop

* Background cache pruner

* Play around with better typing a bit

* Test to show closing is ok while reading
  • Loading branch information
nsmith- authored Apr 21, 2024
1 parent 1d2af98 commit 8782798
Show file tree
Hide file tree
Showing 2 changed files with 243 additions and 152 deletions.
Loading

0 comments on commit 8782798

Please sign in to comment.