小编put*_*ana的帖子

如何解决读取ECONNRESET公牛库错误

当我在 Node js 中使用bull库排队时出现错误,错误如下:

     Error: read ECONNRESET at TCP.onStreamRead 
    - - errno: -104,
   - - code: 'ECONNRESET',
   - - syscall: 'read'
   - - }
Run Code Online (Sandbox Code Playgroud)

 MaxRetriesPerRequestError: Reached the max retries per request limit (which is 20). Refer to "maxRetriesPerRequest" option for details.
Run Code Online (Sandbox Code Playgroud)

这是我的代码:

const imageQueue = new Bull("imageQueue", process.env.REDIS_URL);
Run Code Online (Sandbox Code Playgroud)

queue heroku redis node.js bull

1
推荐指数
1
解决办法
5296
查看次数

标签 统计

bull ×1

heroku ×1

node.js ×1

queue ×1

redis ×1