ThallesComH
ThallesComH5mo ago

Action function called multiple times

hey, we've been using Convex and today I've noticed that we had a problem where 15 function calls were called in sequence, basically duplicating the same function call 15 times. Is it expected? How can I prevent it?
11 Replies
Convex Bot
Convex Bot5mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
ThallesComH
ThallesComHOP5mo ago
Seems like I can't even find the logs for it, are the logs deleted after a while?
Jakov
Jakov5mo ago
Is it reproducible? We don't have enough information (e.g. code, ways to reproduce) to help you.
ThallesComH
ThallesComHOP5mo ago
I don't have any reproducible and even worse, no logs on Convex were generated
Jakov
Jakov5mo ago
I guess you can add a ton of logs and just wait until you get the problem again
ThallesComH
ThallesComHOP5mo ago
But if I add logs what would it stop from just not appearing on the logs tab again?
Jakov
Jakov5mo ago
Only recent logs are visible. To get persistent logging, you have to have convex pro plan https://docs.convex.dev/production/integrations/log-streams/
ThallesComH
ThallesComHOP5mo ago
I see no mention on either pricing or Convex docs about logs not being persistent but ok I guess, I'll see what I can do.
Jakov
Jakov5mo ago
@ThallesComH
ThallesComH
ThallesComHOP5mo ago
ok my bad I swear I read that and somehow skipped it

Did you find this page helpful?