Skip to content

Commit 306d26c

Browse files
committed
Increase body size limit of Axios GCPS client
1 parent 95ebdf7 commit 306d26c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strontium",
3-
"version": "2.9.7",
3+
"version": "2.9.8",
44
"description": "Strontium is a TypeScript toolkit for High Performance API servers built for Production not Projects.",
55
"main": "lib/src/index.js",
66
"types": "lib/src/index.d.ts",

src/queue/drivers/gcps/GCPSClient.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export class GCPSClient {
8181
"https://pubsub.googleapis.com/google.pubsub.v1.Publisher"
8282
)}`,
8383
},
84+
maxContentLength: 10 * 1024 * 1024, // 10 MB in Bytes
8485
}
8586
)
8687
}

0 commit comments

Comments
 (0)