← Back to Stormify Documentation

maxLifetime

Absolute lifetime of a connection from creation to forced retirement, regardless of activity. Prevents long-lived sessions from accumulating server-side state (prepared statement cache growth, session-level temp tables, etc.). Set to Duration.INFINITE to disable max-lifetime retirement.