Kill fbProphet process at will
Open
py
question
- Dominant language
- Python
- Stars
- 20.4k
- Forks
- 4.6k
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 1
Description
Hi,
I have a Flask server which receives some data and returns its forecast using fbProphet.
For production deployment, I really need to set a timeout in order to prevent too large execution times and server crashes.
For this I tried several typical methods in Python, such as multiprocessing, threading, signals and some other libraries to set timeouts. All of them return the timeout message correctly, but the fbProphet process keeps running in the background and the server freezes constantly.
Is there a native way to kill all the processes of fbProphet or a suitable workaround for this issue?
Contributor guide
Assessment
This issue has not been assessed yet.