fix: new sqs queue url

This commit is contained in:
John Yeo
2026-04-26 21:30:24 +01:00
parent b72feffb4d
commit 39883829e3

View File

@@ -41,12 +41,9 @@ const probe = async ({
};
const getConfiguredQueueUrls = () =>
[
QUEUE_URL,
process.env.TRACK_SQS_QUEUE_URL,
process.env.SQS_QUEUE_URL,
process.env.SQS_QUEUE_URL_V2,
].filter((url): url is string => Boolean(url));
[QUEUE_URL, process.env.TRACK_SQS_QUEUE_URL].filter(
(url): url is string => Boolean(url),
);
export const getBlueGreenQueueUrls = ({
knownQueueUrls = [],