@budibase/server 2.6.19-alpha.45 → 2.6.19-alpha.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2833,7 +2833,11 @@ var init_redis = __esm({
2833
2833
  init_utils2();
2834
2834
  init_timers2();
2835
2835
  if (environment_default.MOCK_REDIS) {
2836
- MockRedis = require("ioredis-mock");
2836
+ try {
2837
+ MockRedis = require("ioredis-mock");
2838
+ } catch (err) {
2839
+ console.log("Mock redis unavailable");
2840
+ }
2837
2841
  }
2838
2842
  RETRY_PERIOD_MS = 2e3;
2839
2843
  STARTUP_TIMEOUT_MS = 5e3;