Skip to content

Commit

Permalink
feat(doc): explicit default values used by HikariCP (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
aballiet authored Aug 25, 2023
1 parent 045aad6 commit c83dc9b
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,26 @@ Since Kestra is built with [Micronaut](https://micronaut.io) and [HikariCP](http
| `max-lifetime` | Long | The maximum lifetime of a connection in the pool. |
| `validation-timeout` | Long | The maximum number of milliseconds that the pool will wait for a connection to be validated as alive. |


Here is the default HikariCP configuration:

```yaml
transaction-isolation: default
pool-name: HikariPool-<Generated>
connection-init-sql: null
connection-test-query: null
connection-timeout: 30000
idle-timeout: 600000
minimum-idle: 10
initialization-fail-timeout: 1
leak-detection-threshold: 0
maximum-pool-size: 10 # Generates 40 connections
max-lifetime: 1800000
validation-timeout: 5000
```

Implementation details are accessible [here](https://github.com/brettwooldridge/HikariCP/blob/master/src/main/java/com/zaxxer/hikari/HikariConfig.java).

## Queues configuration

### `kestra.jdbc.queues`
Expand Down

1 comment on commit c83dc9b

@vercel
Copy link

@vercel vercel bot commented on c83dc9b Aug 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kestra-io – ./

kestra-io-git-main-kestra.vercel.app
kestra-io-kestra.vercel.app
kestra-io.vercel.app

Please sign in to comment.