Add diff cache size setting

This commit is contained in:
Andras Schmelczer 2025-11-18 21:50:06 +00:00
parent c92aa63d71
commit 0bfd8a6df4
5 changed files with 75 additions and 19 deletions

View file

@ -34,8 +34,7 @@ export class Syncer {
settings: Settings,
private readonly syncService: SyncService,
private readonly operations: FileOperations,
private readonly internalSyncer: UnrestrictedSyncer,
private readonly contentCache: FixedSizeDocumentCache
private readonly internalSyncer: UnrestrictedSyncer
) {
this.syncQueue = new PQueue({
concurrency: settings.getSettings().syncConcurrency
@ -252,7 +251,6 @@ export class Syncer {
public async reset(): Promise<void> {
await this.waitUntilFinished();
this.contentCache.clear();
}
public async syncRemotelyUpdatedFile(