Skip to content

Commit 7fd3082

Browse files
authored
CW: Change in payload size for Go and Ruby from 1MB to 200KB (#4158)
CW: Change in payload size for GO and Ruby from 1MB to 200KB for security scans Co-authored-by: Laxman Reddy <[email protected]>
1 parent 6e6ca6b commit 7fd3082

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/codewhisperer/models/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ export const codeScanJavaPayloadSizeLimitBytes = Math.pow(2, 20) // 1 MB
200200

201201
export const codeScanCsharpPayloadSizeLimitBytes = Math.pow(2, 20) // 1 MB
202202

203-
export const codeScanRubyPayloadSizeLimitBytes = Math.pow(2, 20) // 1 MB
203+
export const codeScanRubyPayloadSizeLimitBytes = 200 * Math.pow(2, 10) // 200 KB
204204

205-
export const codeScanGoPayloadSizeLimitBytes = Math.pow(2, 20) // 1 MB
205+
export const codeScanGoPayloadSizeLimitBytes = 200 * Math.pow(2, 10) // 200 KB
206206

207207
export const codeScanPythonPayloadSizeLimitBytes = 200 * Math.pow(2, 10) // 200 KB
208208

0 commit comments

Comments
 (0)