search

Home  >  Q&A  >  body text

spring - MongoDB connection timeout

After the Mongodb connection times out, the first database query will fail when you reconnect, and it will be normal until you connect again. This is the case after every timeout

世界只因有你世界只因有你2841 days ago618

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