How to wait the “set” function of ioredis library in nodejs script? ( I think answerers need not know ioredis.)

后端 未结 0 1648
离开以前
离开以前 2021-01-19 05:32

Let me put my node.js script bellow.

It failed because probably the redis.disconnect() call finished before redis.set() calls completed.

How can I make redis.d

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