Skip to content

Commit

Permalink
feat: set queue timeout to 10ms
Browse files Browse the repository at this point in the history
  • Loading branch information
acaldas committed May 30, 2024
1 parent 3c334f4 commit 6c87c92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/document-drive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/utils/browser-document-drive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6c87c92

Please sign in to comment.