Files

24 lines
397 B
Markdown
Raw Permalink Normal View History

2023-02-15 09:55:01 +02:00
Generated from stats.py on 2023-02-14 15:33:37.171081
2021-10-15 03:25:38 -05:00
# peeringdb_server.stats
Load and maintain global stats (displayed in peeringdb footer).
2022-11-08 19:25:32 +02:00
# Functions
---
## gen_stats
`def gen_stats()`
Regenerates global statics to stats.__STATS['data']
---
## stats
`def stats()`
Returns dict of global statistics
Will return cached statistics according to `GLOBAL_STATS_CACHE_DURATION` setting
---