feat(queue): add per-channel debounce overrides

This commit is contained in:
Peter Steinberger
2026-01-21 18:36:10 +00:00
parent 6996c0f330
commit 32550154f9
6 changed files with 33 additions and 23 deletions

View File

@@ -11,8 +11,7 @@ const resolveChannelOverride = (params: {
channel: string;
}): number | undefined => {
if (!params.byChannel) return undefined;
const channelKey = params.channel as keyof InboundDebounceByProvider;
return resolveMs(params.byChannel[channelKey]);
return resolveMs(params.byChannel[params.channel]);
};
export function resolveInboundDebounceMs(params: {