vona-module-a-redis 5.0.16 → 5.0.18
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 +0 -11
- package/dist/types/redis.d.ts +0 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -96,14 +96,6 @@ class Main extends BeanSimple {
|
|
|
96
96
|
}
|
|
97
97
|
async function configDefault(app) {
|
|
98
98
|
return {
|
|
99
|
-
default: {
|
|
100
|
-
host: app.meta.env.REDIS_DEFAULT_HOST,
|
|
101
|
-
port: Number.parseInt(app.meta.env.REDIS_DEFAULT_PORT),
|
|
102
|
-
password: app.meta.env.REDIS_DEFAULT_PASSWORD,
|
|
103
|
-
db: Number.parseInt(app.meta.env.REDIS_DEFAULT_DB),
|
|
104
|
-
maxRetriesPerRequest: null,
|
|
105
|
-
enableReadyCheck: false
|
|
106
|
-
},
|
|
107
99
|
clients: {
|
|
108
100
|
default: {
|
|
109
101
|
keyPrefix: `default_${app.name}:`
|
|
@@ -117,9 +109,6 @@ async function configDefault(app) {
|
|
|
117
109
|
io: {
|
|
118
110
|
keyPrefix: `io_${app.name}:`
|
|
119
111
|
},
|
|
120
|
-
auth: {
|
|
121
|
-
keyPrefix: `auth_${app.name}:`
|
|
122
|
-
},
|
|
123
112
|
summer: {
|
|
124
113
|
keyPrefix: `summer_${app.name}:`
|
|
125
114
|
},
|
package/dist/types/redis.d.ts
CHANGED