Skip to content

Commit 361796c

Browse files
committed
fix(BrowserTree): Set concurrency to 1
to avoid browser errors of missing parent Signed-off-by: Marcel Klehr <[email protected]>
1 parent 4a988fb commit 361796c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/browser/BrowserTree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default class BrowserTree implements IResource<typeof ItemLocation.LOCAL>
3030
constructor(storage:unknown, rootId:string) {
3131
this.rootId = rootId
3232
this.storage = storage
33-
this.queue = new PQueue({ concurrency: 10 })
33+
this.queue = new PQueue({ concurrency: 1 })
3434
this.absoluteRootPromise = BrowserTree.getAbsoluteRootFolder().then(root => {
3535
this.absoluteRoot = root
3636
})

0 commit comments

Comments
 (0)