Pleroma.Stats probably running far more than it needs to #311

Closed
opened 2022-11-25 11:55:47 +00:00 by floatingghost · 0 comments

I reboot semi-frequently for dev so often don't notice, but according to phoenix dashboard, pleroma.stats is the most called genserver by a long way

it almost certainly does not need to be a permanent background service, and we can probably shove it as a daily run since honestly do we really need exactly up-to-date stats?

image

also to look at: that giant SQL function that just does stats. why is it there, and does it cause significant load?

I reboot semi-frequently for dev so often don't notice, but according to phoenix dashboard, pleroma.stats is the most called genserver by a _long_ way it almost certainly does not need to be a permanent background service, and we can probably shove it as a daily run since honestly do we _really_ need exactly up-to-date stats? ![image](/attachments/87a629bd-54d7-44d4-90c3-b5df4277f3fc) also to look at: that giant SQL function that just does stats. why is it there, and does it cause significant load?
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#311
No description provided.