Files
2023-04-12 06:41:30 -05:00

396 B

Generated from stats.py on 2023-04-12 10:09:44.702367

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