Skip to content

Commit 1cfd64f

Browse files
committed
fix(webapp): queue override and reset APIs resolve queue rows only
The queue concurrency override/reset endpoints no longer resolve the TaskQueue rows that back named concurrency limits, matching the list and retrieve surfaces. Limits get their own management API instead of being mutable through a surface that cannot read them back.
1 parent f92e339 commit 1cfd64f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/webapp/app/v3/services/concurrencySystem.server.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ function findQueueByFriendlyId(
190190
where: {
191191
runtimeEnvironmentId: environment.id,
192192
friendlyId,
193+
role: "QUEUE",
193194
},
194195
}),
195196
(error) => ({
@@ -214,6 +215,7 @@ function findQueueByName(
214215
where: {
215216
runtimeEnvironmentId: environment.id,
216217
name: queue,
218+
role: "QUEUE",
217219
},
218220
}),
219221
(error) => ({

0 commit comments

Comments
 (0)