v1.7.6 - Configurable Peers Default Limit
v1.7.6
This release makes the Peers tool default list size configurable via environment variable. #31
Changes
- Added
PEERS_DEFAULT_LIMIT /peers/{device_id}now usesPEERS_DEFAULT_LIMITwhen no?limit=query is provided- Explicit
?limit=still overrides the environment default - Both the environment default and query override are clamped to a maximum of
50 - Updated example env, compose, and docs to include the new setting
Example
PEERS_DEFAULT_LIMIT=25Notes
Default remains 8 if the environment variable is not set
This change only affects the default number of peers returned and does not impact peer counting logic