当我在节点 js 中与公牛库排队时出现错误,错误是这样的:
Error: read ECONNRESET at TCP.onStreamRead
- - errno: -104,
- - code: 'ECONNRESET',
- - syscall: 'read'
- - }
和
MaxRetriesPerRequestError: Reached the max retries per request limit (which is 20). Refer to "maxRetriesPerRequest" option for details.
这是我的代码:
const imageQueue = new Bull("imageQueue", process.env.REDIS_URL);