Skip to content

Commit 2797d35

Browse files
authored
codewhisperer: increase poll frequency (#4057)
1 parent d4a2227 commit 2797d35

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "CodeWhisperer: Increase polling frequency for security scans."
4+
}

jetbrains-core/src/software/aws/toolkits/jetbrains/services/codewhisperer/util/CodeWhispererConstants.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ object CodeWhispererConstants {
7171
const val JS_PAYLOAD_LIMIT_IN_BYTES = 1024 * 200 // 200KB
7272
const val GO_CODE_SCAN_TIMEOUT_IN_SECONDS: Long = 60
7373
const val GO_PAYLOAD_LIMIT_IN_BYTES = 1024 * 200 // 200KB
74-
const val CODE_SCAN_POLLING_INTERVAL_IN_SECONDS: Long = 5
74+
const val CODE_SCAN_POLLING_INTERVAL_IN_SECONDS: Long = 1
7575
const val CODE_SCAN_CREATE_PAYLOAD_TIMEOUT_IN_SECONDS: Long = 10
7676
const val TOTAL_BYTES_IN_KB = 1024
7777
const val TOTAL_BYTES_IN_MB = 1024 * 1024

0 commit comments

Comments
 (0)