freshness v0.3.0 Freshness.Debug View Source

A module with debugging helpers for the library. Calling functions from this module can be expensive, so you should avoid making these calls in production

Link to this section Summary

Functions

Get the total connection across all servers for the given pool

Link to this section Functions

Link to this function

connection_count(pool_name)

View Source
connection_count(Freshness.Config.pool_name()) :: non_neg_integer()

Get the total connection across all servers for the given pool