mirror of
https://github.com/corda/corda.git
synced 2025-01-02 19:26:47 +00:00
Document connection pool configuration. (#4592)
This commit is contained in:
parent
dd2f1f9798
commit
4dba0c5865
@ -121,3 +121,21 @@ By default, the node database has the following tables:
|
|||||||
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+-----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
| V_PKEY_HASH_EX_ID_MAP | ID, PUBLIC_KEY_HASH, TRANSACTION_ID, OUTPUT_INDEX, EXTERNAL_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