Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(deleteAction): Bump up delete requests concurrency to 5
A concurrency of who is not efficient. Low throughput, underutilization, high latency etc...

Signed-off-by: fenn-cs <[email protected]>
  • Loading branch information
blizzz committed Jun 17, 2024
commit 2817b04a80c84b5b01829d2ba69eeec00f5e9a43
2 changes: 1 addition & 1 deletion apps/files/src/actions/deleteAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const isAllFolders = (nodes: Node[]) => {
return !nodes.some(node => node.type !== FileType.Folder)
}

const queue = new PQueue({ concurrency: 1 })
const queue = new PQueue({ concurrency: 5 })

export const action = new FileAction({
id: 'delete',
Expand Down