mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
Make some stricter rules for accessing the perfstats module. We only want to respond to GET request for json data made by a site admin. This means we also need to pass along the credentials in the request. Didn't immediately figure out how to do that using `z_fetch_url`, so we just fall back to using the JavaScript to populate the widget. This makes it idle for about 5 sec before it gets the first data sample. I think that's probably OK. Project......: Performance Profiling Sponsored-by.: NLnet NGI0 Commons Fund