Skip to content

Commit

Permalink
fix(deleteAction): Bump up delete requests concurrency to 5
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
  • Loading branch information
SystemKeeper committed Jun 17, 2024
1 parent 12342fc commit eced345
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/files/src/actions/deleteAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { encodePath } from '@nextcloud/paths'

import PQueue from 'p-queue'

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

registerFileAction(new FileAction({
id: 'delete',
Expand Down
4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

0 comments on commit eced345

Please sign in to comment.