Skip to content

Commit fa17acc

Browse files
committed
chore(dashboard-agent): unexport relabelConcurrency
1 parent 7f5365d commit fa17acc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal-packages/dashboard-agent/src/tool-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export function pickQueueLiveState(first: QueueLiveRead, second: QueueLiveRead):
170170
* The API's `concurrency.current` is the effective limit, not slots in use; under the
171171
* name `current` a limit of 1 reads as one occupied slot, so it is renamed here.
172172
*/
173-
export function relabelConcurrency(concurrency: unknown) {
173+
function relabelConcurrency(concurrency: unknown) {
174174
if (!concurrency || typeof concurrency !== "object") return concurrency;
175175
const { current, ...rest } = concurrency as { current?: unknown };
176176
return { effectiveLimit: current ?? null, ...rest };

0 commit comments

Comments
 (0)