Skip to content

Commit 7f13920

Browse files
authored
fix(amazonq): use Dispatchers.IO for @workspace requests (#5374)
Default dispatcher is limited on threads. Network requests should be under Dispatchers.IO
1 parent 5b41f58 commit 7f13920

File tree

6 files changed

+225
-196
lines changed

6 files changed

+225
-196
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" : "Amazon Q: Attempt to reduce thread pool contention locking IDE caused by `@workspace` making a large number of requests"
4+
}

detekt-rules/detekt.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ coroutines:
3434
active: true
3535
GlobalCoroutineUsage:
3636
active: true
37-
RedundantSuspendModifier:
38-
active: true
39-
SleepInsteadOfDelay:
40-
active: true
37+
InjectDispatcher:
38+
active: false
4139
SuspendFunWithFlowReturnType:
4240
active: true
4341

0 commit comments

Comments
 (0)