Annotation Type DataSourceConfig
Connection pool settings, compiled in.
Each attribute is the cn1.datasource.* key named beside it, and sets that
key's value at the bottom of the configuration, so DATABASE_URL, a
properties file or the environment still override it. An attribute left at its
default sets nothing. Keep credentials out of source: a URL may name an
environment variable as ${NAME}, resolved when the server starts.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintcn1.datasource.pool.borrowTimeoutMillis.intcn1.datasource.busyTimeoutMillis: how long SQLite waits on a locked file.intcn1.datasource.pool.size.cn1.datasource.url: a SQLite path, or apostgres://ormysql://URL.
-
Element Details
-
url
-
poolSize
int poolSizecn1.datasource.pool.size.- Default:
-1
-
borrowTimeoutMillis
int borrowTimeoutMilliscn1.datasource.pool.borrowTimeoutMillis.- Default:
-1
-
busyTimeoutMillis
int busyTimeoutMilliscn1.datasource.busyTimeoutMillis: how long SQLite waits on a locked file.- Default:
-1
-