close_old_connections
Iterates through all initialized database connections and closes any that are determined to be unusable or obsolete.
def close_old_connections(
**kwargs: dict
) - > null
Iterates through all initialized database connections and closes those that are unusable or have exceeded their maximum age.
Parameters
| Name | Type | Description |
|---|---|---|
| **kwargs | dict | Arbitrary keyword arguments passed to the function, though not explicitly used in the current implementation. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned; the function performs in-place cleanup of the connection pool. |