playframework 2.0 - exceeded max_user_connections on database evolutions?

前端 未结 1 1132
隐瞒了意图╮
隐瞒了意图╮ 2020-12-19 08:34

I am looing any insight as to how I can configure my play 2.0 app to not use so many database connections on both database evolutions and during runtime. I have asked this

相关标签:
1条回答
  • 2020-12-19 09:17

    Updated answer.

    Here is a configuration that only uses 5 connections.

    db.default.partitionCount=1
    db.default.maxConnectionsPerPartition=5
    db.default.minConnectionsPerPartition=5
    

    # Connections will be partitionCount x ConnectionsPerPartition

    0 讨论(0)
提交回复
热议问题