From 3ff2389c61b9caad111239a33344c8b1fb412d42 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Tue, 28 Mar 2023 20:57:25 +0900 Subject: [PATCH] add env variable for standalone COMPANION_REDIS_PUBSUB_SCOPE -> redisPubSubScope --- packages/@uppy/companion/src/standalone/helper.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@uppy/companion/src/standalone/helper.js b/packages/@uppy/companion/src/standalone/helper.js index afe95b39fd..3e95b1fc8e 100644 --- a/packages/@uppy/companion/src/standalone/helper.js +++ b/packages/@uppy/companion/src/standalone/helper.js @@ -143,6 +143,7 @@ const getConfigFromEnv = () => { ? parseInt(process.env.COMPANION_PERIODIC_PING_COUNT, 10) : undefined, filePath: process.env.COMPANION_DATADIR, redisUrl: process.env.COMPANION_REDIS_URL, + redisPubSubScope: process.env.COMPANION_REDIS_PUBSUB_SCOPE, // adding redisOptions to keep all companion options easily visible // redisOptions refers to https://www.npmjs.com/package/redis#options-object-properties redisOptions: {},