@budibase/server 2.6.19-alpha.46 → 2.6.19-alpha.48

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/query.js CHANGED
@@ -2798,7 +2798,11 @@ var init_redis = __esm({
2798
2798
  init_utils2();
2799
2799
  init_timers2();
2800
2800
  if (environment_default2.MOCK_REDIS) {
2801
- MockRedis = require("ioredis-mock");
2801
+ try {
2802
+ MockRedis = require("ioredis-mock");
2803
+ } catch (err) {
2804
+ console.log("Mock redis unavailable");
2805
+ }
2802
2806
  }
2803
2807
  RETRY_PERIOD_MS = 2e3;
2804
2808
  STARTUP_TIMEOUT_MS = 5e3;