Skip to content

Commit

Permalink
feat: adjust local dir watcher max wait timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwynr committed Dec 22, 2024
1 parent b0a23ed commit 93b385a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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/sync",
"version": "0.1.95",
"version": "0.1.96",
"description": "Filen Sync",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/filesystems/local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ export class LocalFileSystem {
syncPair: this.sync.syncPair
})

const maxWaitTimeout = Date.now() + 60000 * 15
const maxWaitTimeout = Date.now() + SYNC_INTERVAL * 10

await new Promise<void>(resolve => {
const wait = setInterval(() => {
Expand Down

0 comments on commit 93b385a

Please sign in to comment.