Only sync eligible files
This commit is contained in:
parent
49cced2de6
commit
09ab15fb0f
1 changed files with 6 additions and 0 deletions
|
|
@ -640,6 +640,12 @@ export class Syncer {
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!this.operations.isFileEligibleForSync(relativePath)) {
|
||||||
|
Logger.getInstance().info(
|
||||||
|
`File ${relativePath} is not eligible for syncing`
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
Logger.getInstance().debug(`Syncing ${relativePath}`);
|
Logger.getInstance().debug(`Syncing ${relativePath}`);
|
||||||
|
|
||||||
await waitForDocumentLock(relativePath);
|
await waitForDocumentLock(relativePath);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue