Skip to content

Commit

Permalink
feat: lower dir cache time to reflect changes almost instantly
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwynr committed Sep 12, 2024
1 parent 5dabd29 commit 6d5141b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@filen/network-drive",
"version": "0.9.9",
"version": "0.9.10",
"description": "Filen Network Drive",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
10 changes: 6 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,11 @@ export class NetworkDrive {
const excludePatterns = [
// macOS temporary files and folders
".DS_Store",
"**.DS_Store**",
"**.nfs.**",
"._.DS_Store",
"*.DS_Store*",
"*.nfs.*",
"._*",
"*._*",
".Trashes/**",
".Spotlight-V100/**",
".TemporaryItems/**",
Expand Down Expand Up @@ -497,8 +499,8 @@ export class NetworkDrive {
"--vfs-cache-min-free-space 5Gi",
"--vfs-cache-max-age 720h",
"--vfs-cache-poll-interval 1m",
"--dir-cache-time 1m",
"--cache-info-age 1m",
"--dir-cache-time 3s",
"--cache-info-age 5s",
// Already present in the SDK fs() class
//"--vfs-block-norm-dupes",
"--noappledouble",
Expand Down

0 comments on commit 6d5141b

Please sign in to comment.