search

Home  >  Q&A  >  body text

spring - MongoDB连接超时

Mongodb连接超时后,重新连接第一次数据库查询会失败,再连接一次才正常,每次超时后都是这样

世界只因有你世界只因有你2764 days ago567

reply all(1)I'll reply

  • 黄舟

    黄舟2017-05-02 09:25:18

    You can’t see anything just by looking at the problem description, so just post the key code

    It is possible that mongo did not replace the old variables after relinking
    Without code, we can only guess.

    reply
    0
  • Cancelreply