I have a web app written in Flask that is currently running on IIS on Windows (don't ask...).

I'm using Celery to handle some asynchronous processing (accessing a slow database and generating a report).

However, when trying to set up some behavior for error handling, I came across this in the docs:

"Time limits do not currently work on Windows and other platforms that do not support the SIGUSR1 signal."

Since the DB can get really slow, I would really like to be able to specify a timeout behavior for my tasks, and have them retry later when the DB might not be so tasked. Given that the app, for various reasons, has to be served from Windows, is there any workaround for this?

Thanks so much for your help.

Edit
Report