You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.error('ClusterMemoryStoreWorker: failed to initialize',error)
94
+
console.error(`${errorPrefix} failed to initialize`,error)
93
95
},
94
96
)
95
97
}
@@ -137,7 +139,7 @@ export class ClusterMemoryStoreWorker implements Store {
137
139
consttimeoutId=setTimeout(()=>{
138
140
reject(
139
141
newError(
140
-
`ClusterMemoryStoreWorker: no response recieved to ${command} command after ${timelimit}ms.`,
142
+
`${errorPrefix} no response recieved to ${command} command after ${timelimit}ms.`,
141
143
),
142
144
)
143
145
this.openRequests.delete(requestId)
@@ -146,7 +148,7 @@ export class ClusterMemoryStoreWorker implements Store {
146
148
if(!process.send){
147
149
reject(
148
150
newError(
149
-
'ClusterMemoryStoreWorker: process.send is undefined, indicating that this is probably not a node:cluster worker.',
151
+
`${errorPrefix} process.send is undefined, indicating that this is probably not a node:cluster worker.`,
150
152
),
151
153
)
152
154
return
@@ -175,7 +177,8 @@ export class ClusterMemoryStoreWorker implements Store {
175
177
if(!shouldSendMore){
176
178
console.warn(
177
179
newError(
178
-
'CluserMemoryStoreWorker: process.send() returned false indicating that the channel is closed and/or there is a large backlog of messages waiting to be sent.',
180
+
errorPrefix+
181
+
' process.send() returned false indicating that the channel is closed and/or there is a large backlog of messages waiting to be sent.',
179
182
),
180
183
)
181
184
}
@@ -196,7 +199,7 @@ export class ClusterMemoryStoreWorker implements Store {
196
199
}else{
197
200
console.warn(
198
201
newError(
199
-
'ClusterMemoryStoreWorker: response recieved without matching open request: '+
202
+
`${errorPrefix} response recieved without matching open request: `+
0 commit comments