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
Hi.
I'm happily using the library and works great.
I've an issue when, for unexpected reasons, the Redis connection fails (maintenance, temporary network glitch...): my app currently crashes.
How do I intercept such errors, and have Bee-Queue retry the connection before failing?
Thank you
P.S. here's an example stack trace
/Users/maxxer/work/origlio/node_modules/redis/index.js:298
var err = new errorClasses.AbortError(error_attributes);
^
AbortError: Redis connection lost and command aborted. It might have been processed.
at RedisClient.flush_and_error (/Users/maxxer/work/origlio/node_modules/redis/index.js:298:23)
at RedisClient.connection_gone (/Users/maxxer/work/origlio/node_modules/redis/index.js:603:14)
at TLSSocket.<anonymous> (/Users/maxxer/work/origlio/node_modules/redis/index.js:231:14)
at Object.onceWrapper (node:events:633:28)
at TLSSocket.emit (node:events:531:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'UNCERTAIN_STATE',
command: 'EVALSHA',
args: [
'aa102f22e4bd254581ad75f64cb52ea1cc1aa128',
4,
'bq:AI audio processing:stallBlock',
'bq:AI audio processing:stalling',
'bq:AI audio processing:waiting',
'bq:AI audio processing:active',
5000
]
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi.
I'm happily using the library and works great.
I've an issue when, for unexpected reasons, the Redis connection fails (maintenance, temporary network glitch...): my app currently crashes.
How do I intercept such errors, and have Bee-Queue retry the connection before failing?
Thank you
P.S. here's an example stack trace
Beta Was this translation helpful? Give feedback.
All reactions