suchen

Heim  >  Fragen und Antworten  >  Hauptteil

node.js - pm2 重启 Node 服务时怎么维持 session 数据?

如题,请问大神们有什么好的方法呢?小白求教了

黄舟黄舟2873 Tage vor286

Antworte allen(2)Ich werde antworten

  • PHP中文网

    PHP中文网2017-04-17 15:48:39

    使用redis 或者mongodb或者memache来存储吧

    Antwort
    0
  • 黄舟

    黄舟2017-04-17 15:48:39

    0秒停机重载

    pm2 reload all

    Antwort
    0
  • StornierenAntwort