码迷,mamicode.com
首页 > 数据库 > 详细

nested exception is com.mongodb.MongoWaitQueueFullException: Too many operations are already waiting for a connection. Max number of operations (maxWaitQueueSize) of 500 has been exceeded.

时间:2020-02-28 01:40:29      阅读:168      评论:0      收藏:0      [点我收藏+]

标签:bee   already   pre   any   username   yml   ODB   ati   tab   

application.yml 添加后两行配置,增加连接池数量
data:
mongodb:
host: ***
database: ***
port: 27017
username: ***
password: ***
authenticationDatabase: ***
connections-per-host: 10000
min-connections-per-host: 200

nested exception is com.mongodb.MongoWaitQueueFullException: Too many operations are already waiting for a connection. Max number of operations (maxWaitQueueSize) of 500 has been exceeded.

标签:bee   already   pre   any   username   yml   ODB   ati   tab   

原文地址:https://www.cnblogs.com/guangxiang/p/12375326.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!