mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-19 05:43:51 +01:00
Name each database connection pool uniquely (#2973)
This commit is contained in:
parent
a27d4acd9f
commit
db45ef9ca2
@ -20,7 +20,6 @@ bitcoin-s {
|
||||
# see: https://github.com/bitcoin-s/bitcoin-s/pull/1840
|
||||
numThreads = 1
|
||||
queueSize=5000
|
||||
poolName = "bitcoin-s-db-pool"
|
||||
connectionPool = "HikariCP"
|
||||
registerMbeans = true
|
||||
}
|
||||
@ -39,6 +38,7 @@ bitcoin-s {
|
||||
# this config key is read by Slick
|
||||
db {
|
||||
name = nodedb
|
||||
poolName = "bitcoin-s-node-db"
|
||||
}
|
||||
# PostgreSQL example:
|
||||
# db {
|
||||
@ -66,6 +66,7 @@ bitcoin-s {
|
||||
# this config key is read by Slick
|
||||
db {
|
||||
name = chaindb
|
||||
poolName = "bitcoin-s-chain-db"
|
||||
}
|
||||
# PostgreSQL example:
|
||||
# db {
|
||||
@ -99,6 +100,7 @@ bitcoin-s {
|
||||
# this config key is read by Slick
|
||||
db {
|
||||
name = walletdb
|
||||
poolName = "bitcoin-s-wallet-db"
|
||||
}
|
||||
# PostgreSQL example:
|
||||
# db {
|
||||
@ -121,6 +123,7 @@ bitcoin-s {
|
||||
db {
|
||||
name = oracle
|
||||
path = ${bitcoin-s.datadir}/oracle/
|
||||
poolName = "bitcoin-s-oracle-db"
|
||||
}
|
||||
# PostgreSQL example:
|
||||
# db {
|
||||
|
Loading…
Reference in New Issue
Block a user