digital-asset / daml

The Daml smart contract language
https://www.digitalasset.com/developers
797 stars 199 forks source link

Allow clients to configure the maximum number of DB connections #7429

Open matthiasS-da opened 3 years ago

matthiasS-da commented 3 years ago

I.e., JdbcLedgerDao currently hardcodes the number of connections to either 1 or 16. Depending the underlying machine and DB, clients may want to choose a different number.

https://github.com/digital-asset/daml/blob/d48e9d251d22ba0aea3de2cd51755e3be447e8a1/ledger/participant-integration-api/src/main/scala/platform/store/dao/JdbcLedgerDao.scala#L894

matthiasS-da commented 3 years ago

FYI @oliverse-da

meiersi-da commented 3 years ago

@mziolekda : this seems like an issue that fits into the focus of the KV Participant team. Do you want to pick it up?