@treatwell/moleculer-essentials 1.3.1 → 1.3.2-beta.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.
|
@@ -5,7 +5,7 @@ var bullmq = require('bullmq');
|
|
|
5
5
|
var index = require('../index-82e1CXJX.cjs');
|
|
6
6
|
var mixins_globalStore_mixin = require('./global-store.mixin.cjs');
|
|
7
7
|
var ioredis = require('ioredis');
|
|
8
|
-
var
|
|
8
|
+
var index_js = require('ioredis/built/utils/index.js');
|
|
9
9
|
|
|
10
10
|
function createRedisConnection(url) {
|
|
11
11
|
let tls;
|
|
@@ -13,7 +13,7 @@ function createRedisConnection(url) {
|
|
|
13
13
|
tls = {};
|
|
14
14
|
}
|
|
15
15
|
const connection = new ioredis.Redis({
|
|
16
|
-
...
|
|
16
|
+
...index_js.parseURL(url),
|
|
17
17
|
tls,
|
|
18
18
|
maxRetriesPerRequest: null,
|
|
19
19
|
connectTimeout: 1e3 * 60
|
|
@@ -3,7 +3,7 @@ import { Queue, QueueEvents, FlowProducer, Worker } from 'bullmq';
|
|
|
3
3
|
import { w as wrapMixin } from '../index-DNJWwcZu.mjs';
|
|
4
4
|
import { GlobalStoreMixin } from './global-store.mixin.mjs';
|
|
5
5
|
import { Redis } from 'ioredis';
|
|
6
|
-
import { parseURL } from 'ioredis/built/utils';
|
|
6
|
+
import { parseURL } from 'ioredis/built/utils/index.js';
|
|
7
7
|
|
|
8
8
|
function createRedisConnection(url) {
|
|
9
9
|
let tls;
|