Document connection pool configuration. (#4592)

This commit is contained in:
Tudor Malene 2019-01-16 13:31:24 +00:00 committed by GitHub
parent dd2f1f9798
commit 4dba0c5865
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}