function execution was frozen when sending concurrent request to appwrite function
- 1
- Functions
- Cloud
hey when i execute an appwrite function that is inside a for loop means: send multiple executions of that function it stop at processing
then it fails after timeout
only the first one is seems frozen rest all the execution process successfully
appwrite cloud or local docker?
Cloud
does code work fine on your IDE?
yaa
wait
oh yes
oooo, I may not be able to answer this
hi, is there a possibility that your loop might be going into an infinite loop and/or faulty execution?
batches = [ data_array[i : i + batch_size] for i in range(0, len(data_array), batch_size) ] for batch in batches: batch = json.dumps( {"urls": {"others": batch}, "bucketId": "somethng"} ) send_data_batch(batch)
doesn't seems like it
that is true
would you please share more of your code?
sorry Steven i can't is to reproduce the problem maybe it because i add time.sleep in during creating execution or i changes i made to the function itself
earlier when this problem occurred i deleted the function 2 times to stop the execution(didn't wait for it to timeout)
but if you want to check the logs from your side
projectId -> 6463a34a73ca03c70d35
oh...yes, that could cause it...
Recommended threads
- fastly error
Hey! I'm hitting a Fastly error on the www version of our site, but the root domain works fine. We have a wildcard set up, so I expected the subdomain to be cov...
- Facebook's scraper facebookexternalhit g...
share.bardbliss.com but works fine on the raw fra.appwrite.run URL. No execution logs appear when Facebook hits the custom domain. This was working before. How ...
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...