disable slow endpoints
This commit is contained in:
parent
d87e156919
commit
b2d4b97d33
1 changed files with 2 additions and 0 deletions
|
@ -60,4 +60,6 @@ class TakaheStats(BaseJob):
|
|||
}
|
||||
cache.set("nodeinfo_usage", nodeinfo_usage, timeout=None)
|
||||
logger.debug(f"/nodeinfo/2.0/ {nodeinfo_usage}")
|
||||
# disable /api/v1/instance/activity for now as it's slow
|
||||
cache.set("instance_activity_stats", [], timeout=None)
|
||||
logger.info("Tahake stats updated.")
|
||||
|
|
Loading…
Add table
Reference in a new issue