vertx / io.vertx.kotlin.sqlclient / poolOptionsOf

# poolOptionsOf

`fun poolOptionsOf(maxSize: Int? = null, maxWaitQueueSize: Int? = null): PoolOptions`

A function providing a DSL for building io.vertx.sqlclient.PoolOptions objects.

The options for configuring a connection pool.

### Parameters

`maxSize` - Set the maximum pool size

`maxWaitQueueSize` - Set the maximum connection request allowed in the wait queue, any requests beyond the max size will result in an failure. If the value is set to a negative number then the queue will be unbounded.