NodeJs Redis (cache) error handling - how to ignore errors?

前端 未结 0 1279
無奈伤痛
無奈伤痛 2020-11-30 04:42

Currently I have a cache.js file to initiate Redis, in order to reuse the connection.

cache.js

 const redis = require(\'redis\');
const { promisify } =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题