spring中配置mongo的最大鏈接數

這幾天一直在壓測服務器的性能問題,當併發量大時,服務器會報mong的錯誤:html Too many threads are already waiting for a connection. Max number of threads (maxWaitQueueSize) of 50 has been exceeded. java 原來在個人配置文件中,沒有設置mongo鏈接的最大線程數,因此默
相關文章
相關標籤/搜索