1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00
Files
peeringdb-peeringdb/docs/dev/modules/stats.py.md
Stefan Pratter d66a09eb92 linting
2023-02-14 15:37:06 +00:00

397 B

Generated from stats.py on 2023-02-14 15:33:37.171081

peeringdb_server.stats

Load and maintain global stats (displayed in peeringdb footer).

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