SupabaseS
Supabase12mo ago
kush

Is it normal for supabase server to disconnect when doing 30 concurrent calls to data api?

Hi,
I have a function to call an api and then store the results into supabase as an update to an existing row in my db table. the thing is i use pythons threading module to call this function 30 times concurrently.

The api i'm calling can easily handle 30 concurrent calls, but for some reason supabase cant becasue i keep getting the error "server disconnected". This seems really weird because 30 concurrent calls is not that much. I even upgraded to the supabase pro plan and upgraded the compute but nothing changed.

I'm using the supabase data api to store the results right now. I'm not sure what to do. I'd greatly appreciate any advice.
Was this page helpful?