Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ListmonkResource.WithDatabaseMaxIdleConnections

Method
📦 CommunityToolkit.Aspire.Hosting.Listmonk v13.6.1
type ListmonkResource interface {
// ... omitted for brevity
WithDatabaseMaxIdleConnections(maxIdle float64) ListmonkResource
}

Signature

methodWithDatabaseMaxIdleConnectionsbuilder
Configures the maximum number of idle PostgreSQL connections.
WithDatabaseMaxIdleConnections(maxIdle float64) ListmonkResource
maxIdlefloat64The value for LISTMONK_db__max_idle.
ListmonkResource

The IResourceBuilder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: