akkoma/lib/pleroma/web/admin_api/controllers
Oneric ffeb70f787 Drop counter_cache stubbing out /api/v1/pleroma/admin/stats
It only served for a niche, admin nice-to-have informational stat
without too much value but was unreasonably costly to maintain
adding overhead with multiple queries added to all modifications
to the fairly busy activities table.

The database schema of the counter table and the activity_visibility function
used for counter updates also did not know about "local" visibility (nor the
recently removed "list" visibility) and misattributed them to the "direct" counter.

On my small instance this nearly halved the average
insert time for activiteis from 0.926 ms to 0.465 ms.
2025-11-17 00:00:00 +00:00
..
admin_api_controller.ex Drop counter_cache stubbing out /api/v1/pleroma/admin/stats 2025-11-17 00:00:00 +00:00
announcement_controller.ex Merge branch 'from/upstream-develop/tusooa/server-announcements' into 'develop' (#85) 2022-07-18 13:08:36 +00:00
config_controller.ex backend-i18n (#121) 2022-07-27 21:56:59 +00:00
fallback_controller.ex Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
frontend_controller.ex List available frontends also when no static/frontends folder is present yet 2021-08-28 18:23:49 +02:00
instance_controller.ex AdminAPI.InstanceController: clean up tests, rename actions 2021-07-17 15:00:15 -05:00
instance_document_controller.ex OAuthScopesPlug: remove transform_scopes in favor of explicit admin scope definitions 2021-02-17 21:37:23 +03:00
invite_controller.ex OAuthScopesPlug: remove transform_scopes in favor of explicit admin scope definitions 2021-02-17 21:37:23 +03:00
media_proxy_cache_controller.ex mix/deps: upgrade cachex to 4.x 2025-11-09 00:00:00 +00:00
o_auth_app_controller.ex Create real Views for all Controllers 2021-05-29 12:15:57 -05:00
relay_controller.ex OAuthScopesPlug: remove transform_scopes in favor of explicit admin scope definitions 2021-02-17 21:37:23 +03:00
report_controller.ex OAuthScopesPlug: remove transform_scopes in favor of explicit admin scope definitions 2021-02-17 21:37:23 +03:00
status_controller.ex OAuthScopesPlug: remove transform_scopes in favor of explicit admin scope definitions 2021-02-17 21:37:23 +03:00
user_controller.ex AdminAPI: suggest a user through the API 2021-11-26 15:19:01 -06:00