@nxtedition/lib 26.8.7 → 26.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/s3.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "26.8.7",
3
+ "version": "26.8.8",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",
package/s3.js CHANGED
@@ -5,7 +5,7 @@ import PQueue from 'p-queue'
5
5
  import { NodeHttpHandler } from '@smithy/node-http-handler'
6
6
  import { request as undiciRequest, parseHeaders } from '@nxtedition/nxt-undici'
7
7
 
8
- const QUEUE = new PQueue({ concurrency: 8 })
8
+ const QUEUE = new PQueue({ concurrency: 16 })
9
9
  const MD5_HEX_EXPR = /^[A-F0-9]{32}$/i
10
10
 
11
11
  /**
@@ -99,7 +99,7 @@ export async function upload({
99
99
  queue = QUEUE,
100
100
  signal,
101
101
  logger,
102
- partSize = 16e6,
102
+ partSize = 5e6,
103
103
  params,
104
104
  }) {
105
105
  if (s3 == null) {