Replies: 1 comment
-
Hi @lmussier, I had the same problem. This code helped me https://github.com/thatmattlove/hyperglass/blob/b5a67e7c0e94b851e0e70bd9f56b27969519840c/hyperglass/main.py#L175 You need to add the function to the dict of options.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to setup a flask app with some shared data using multiprocessing.Manager.
doing so I encounter something similar to #1391 (which is not related to gunicorn), one of the solution pointed in the issue si to use hooks to remove exit handlers.
The issue I have is that I'm not able to get those hooks configured.
Seems to have no effect (to be sure a set conf file to something inexistsant).
Could you point me a way to do this? Either by settting the config file, or by overloading soemthing in base app.
For the reccords I've tried the same code but inheriting from gunicorn.app.base.Application, but got the same result.
Regards.
Beta Was this translation helpful? Give feedback.
All reactions