IO-3166-Global-Notifications-Part-2: Make sure BULLMQ prefixes do not collide

This commit is contained in:
Dave Richer
2025-03-12 20:00:53 -04:00
parent 87db292e5d
commit 360a1954f4
3 changed files with 19 additions and 10 deletions

View File

@@ -0,0 +1,3 @@
const getBullMQPrefix = () => (process.env?.NODE_ENV === "production" ? "{PROD-BULLMQ}" : "{DEV-BULLMQ}");
module.exports = getBullMQPrefix;