Closed lpil closed 7 months ago
I believe this to be some interaction with SQLite and Fly and Mist. Outside of Fly it works, and if I don't send any files it works.
edit: The slowness of loading happens outside of Fly too, though less pronounced. I have not had it crash outside of Fly yet.
I've started to get the "Busy" messages from SQLite (in an Elixir project) when hosting the DB on a NFS Mount (which is officialy not supported by SQLite). I think this has nothing to do with mist.
Thank you all!
Hello!
I'm using Mist and Wisp's https://hexdocs.pm/wisp/wisp.html#serve_static to serve some images on Fly.io.
The images are not very large
When I load the image that has them they load slowly, and a random 2 to 4 of them will fail with a 500.
If I check the logs I get the error
{case_clause,'$busy'}
. I was unable to find the atom'$busy'
anywhere in the OTP codebase or in an internet search.The problem doesn't seem to occur locally. I'm not sure what the issue could be.
If I make rapid requests to a single image it doesn't fail or load slowly. It seems to be something to do with having a browser concurrently loading multiple images?
Thanks, Louis