MietzeKatzeM
Convex Communityβ€’4mo agoβ€’
14 replies
MietzeKatze

What is the best way to register the amount of functions beeing called per user?

First I thought I made an extra column in the user table and incremented a counter there, but in a query i cant access the ctx.patch function.

Then I thought about using actions, but then I wouldnt have the realtime update of a query and in the docs it says, I shouldnt call too many actions, because they slow down the server.

Soooo what could I do ? πŸ˜‡

Is there a way to access the logs maybe via a function and I could maybe once an hour count?

Is there an event I could subscribe a function to ?
Was this page helpful?