@xnestjs/ioredis 1.7.0 → 1.7.1

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.
@@ -41,5 +41,6 @@ function getRedisConfig(options, prefix = 'REDIS_') {
41
41
  redisOptions.maxRetriesPerRequest === null
42
42
  ? null
43
43
  : (redisOptions.maxRetriesPerRequest ?? (0, putil_varhelpers_1.toInt)(env[prefix + 'MAX_RETRIES_PER_REQUEST']));
44
+ out.lazyConnect = (0, putil_varhelpers_1.toBoolean)(env[prefix + 'LAZY_CONNECT'] ?? 'false');
44
45
  return out;
45
46
  }
@@ -37,5 +37,6 @@ export function getRedisConfig(options, prefix = 'REDIS_') {
37
37
  redisOptions.maxRetriesPerRequest === null
38
38
  ? null
39
39
  : (redisOptions.maxRetriesPerRequest ?? toInt(env[prefix + 'MAX_RETRIES_PER_REQUEST']));
40
+ out.lazyConnect = toBoolean(env[prefix + 'LAZY_CONNECT'] ?? 'false');
40
41
  return out;
41
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xnestjs/ioredis",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "NestJS extension library for ioredis",
5
5
  "author": "Panates",
6
6
  "license": "MIT",