webknossos
webknossos copied to clipboard
Handle big ad-hoc mesh requests better
Right now, webknossos seems to crash every now and then if there is some pressure due to isosurface-requests. Maybe the back-end could only allow N parallel isosurface jobs?
Logs show that these crashes probably were not due to the isosurface requests. Rate-limiting those could still be a good idea.
I've had this error when generating an isosurface for a large cell:
Ask timed out on [Actor[akka://application/user/$a#-423696911]] after [30000 ms]. Message of type [com.scalableminds.webknossos.datastore.services.IsosurfaceRequest]. A typical reason for AskTimeoutException is that the recipient actor didn't send a reply.
The frontend only showed an empty error toast.
I can send a link to reproduce, privately.