From 6c87c92e4e4ed2246c642f6575db1b31c6611b06 Mon Sep 17 00:00:00 2001 From: acaldas Date: Thu, 30 May 2024 19:24:57 +0100 Subject: [PATCH] feat: set queue timeout to 10ms --- src/app/document-drive.ts | 2 +- src/utils/browser-document-drive.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/document-drive.ts b/src/app/document-drive.ts index 29a32b1e..826be563 100644 --- a/src/app/document-drive.ts +++ b/src/app/document-drive.ts @@ -26,7 +26,7 @@ export default ( documentModels, new FilesystemStorage(join(path, 'Document Drives')), new InMemoryCache(), - new BaseQueueManager(1), + new BaseQueueManager(1, 10), ); const promise = documentDrive diff --git a/src/utils/browser-document-drive.ts b/src/utils/browser-document-drive.ts index a9858485..1f040b4a 100644 --- a/src/utils/browser-document-drive.ts +++ b/src/utils/browser-document-drive.ts @@ -10,7 +10,7 @@ export const BrowserDocumentDriveServer = new DocumentDriveServer( documentModels, new BrowserStorage(connectConfig.routerBasename), new InMemoryCache(), - new BaseQueueManager(1), + new BaseQueueManager(1, 10), ); BrowserDocumentDriveServer.initialize()