mirror of
https://github.com/corda/corda.git
synced 2024-12-21 22:07:55 +00:00
Document connection pool configuration. (#4592)
This commit is contained in:
parent
dd2f1f9798
commit
4dba0c5865
@ -120,4 +120,22 @@ By default, the node database has the following tables:
|
||||
| VAULT_TRANSACTION_NOTES | SEQ_NO, NOTE, TRANSACTION_ID |
|
||||
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| V_PKEY_HASH_EX_ID_MAP | ID, PUBLIC_KEY_HASH, TRANSACTION_ID, OUTPUT_INDEX, EXTERNAL_ID |
|
||||
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
|
||||
Database connection pool
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Corda uses `Hikari Pool <https://github.com/brettwooldridge/HikariCP>`_ for creating the connection pool.
|
||||
To configure the connection pool any custom properties can be set in the `dataSourceProperties` section.
|
||||
|
||||
For example:
|
||||
.. sourcecode:: groovy
|
||||
|
||||
dataSourceProperties = {
|
||||
dataSourceClassName = "org.postgresql.ds.PGSimpleDataSource"
|
||||
...
|
||||
maximumPoolSize = 10
|
||||
connectionTimeout = 50000
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user