Skip to content

Commit

Permalink
chore(const): added code_payload_bytes to the limits (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmass authored Jun 13, 2024
1 parent ac5978f commit b6b437e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion const/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bpinternal/const",
"version": "0.0.37",
"version": "0.0.38",
"description": "Constant utilities for Botpress",
"main": "./dist/index.cjs",
"browser": "./dist/index.mjs",
Expand Down
8 changes: 6 additions & 2 deletions const/src/limits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ export const limitConfigs = {
unit: 'count'
},
files_api_query_bytes: {
value: 1024, // 1 KB
value: 1024, // 1 KB
unit: 'bytes'
}
},
code_payload_bytes: {
value: 52428800, // 50 MB
unit: 'bytes'
},
} as const satisfies Record<string, Limit>

0 comments on commit b6b437e

Please sign in to comment.