-
-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watchdog doesn't work along with eventlet #332
Comments
Just out of curiosity this morning I tried to get watchdog observer working along with gevent lib instead of eventlet. |
+1 I want to call a method with eventlet in Myhandler. I just fix it use multiprocess |
+1 |
1 similar comment
+1 |
In case if application is under Apache+mod_wsgi it is not recommended to use signals [1]. We need to have configuration option for handling 'touch file' event instead of signal. Alternative solutions: 1) watchdog: can monitor only directories, has issues with eventlet [2]. 2) inotify: works only with linux-based systems. [1] https://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIRestrictSignal [2] gorakhargosh/watchdog#332 Change-Id: I6ef02457f21da8e6fbd50e57bfa503b3c31ddd76 Implements: blueprint guru-meditation-report-file-touch
+1 |
2 similar comments
+1 |
+1 |
Introduced the @cpython_only marker for tests. Fixes #332.
Fixed in master :) |
Introduced the @cpython_only marker for tests. Fixes gorakhargosh#332.
Hi!
Observer cannot be instantiated in case eventlet.monkey_patch() patches Thread.
Here is the code which shows the problem:
Here is the exception I get running the above code
The text was updated successfully, but these errors were encountered: