Skip to content

Commit

Permalink
fix: set max body and content length to infinity (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
troykessler authored Aug 17, 2023
1 parent 02ca813 commit 05484f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/protocol/src/reactors/storageProviders/Kyve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ export class Kyve implements IStorageProvider {
data: bundle.toString("base64"),
},
{
maxBodyLength: Infinity,
maxContentLength: Infinity,
headers: {
"kyve-api-key": process.env.KYVE_STORAGE_PROVIDER_API_KEY || "",
"kyve-chain-id": this.chainId,
Expand Down

0 comments on commit 05484f8

Please sign in to comment.