We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d002f66 commit 153c02cCopy full SHA for 153c02c
packages/core/src/codewhisperer/region/regionProfileManager.ts
@@ -286,7 +286,10 @@ export class RegionProfileManager {
286
return
287
}
288
289
+ await this.switchRegionProfile(previousSelected, 'reload')
290
+
291
// cross-validation
292
+ // jitter of 0 ~ 5 second
293
const jitterInSec = Math.floor(Math.random() * 6)
294
const jitterInMs = jitterInSec * 1000
295
setTimeout(async () => {
@@ -315,8 +318,6 @@ export class RegionProfileManager {
315
318
result: 'Failed',
316
319
})
317
320
-
- await this.switchRegionProfile(previousSelected, 'reload')
321
}, jitterInMs)
322
323
0 commit comments