Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix undefined property warning in executeAutoPipeline (#1425)
Seen in an uncaughtException handler. ``` err_type=uncaughtException, exiting cause=TypeError: Cannot read property 'Symbol(callbacks)' of undefined at Immediate.executeAutoPipeline (.../node_modules/ioredis/built/autoPipelining.js:34:31) at Shim.applySegment (.../node_modules/newrelic/lib/shim/shim.js:1430:20) at Immediate.wrapper (.../node_modules/newrelic/lib/shim/shim.js:2097:17) at processImmediate (internal/timers.js:463:21) ``` A similar error was among the errors reported in #1248 I suspect the process.exec might call the callback synchronously in the same tick in some cases, immediately deleting the autopipeline from running pipelines?
- Loading branch information