ListmonkResource.WithDatabaseMaxLifetime
Method
type ListmonkResource interface { // ... omitted for brevity WithDatabaseMaxLifetime(maxLifetime string) ListmonkResource}Signature
method
WithDatabaseMaxLifetime builderConfigures the maximum lifetime for PostgreSQL connections.
WithDatabaseMaxLifetime(maxLifetime string) ListmonkResourceParameters
maxLifetime stringThe duration value for LISTMONK_db__max_lifetime , for example 300s.Returns
ListmonkResource The I.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: