-
Notifications
You must be signed in to change notification settings - Fork 11
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
Replace pyinotify with watchdog #185
Conversation
This is to do the config file watching
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! The code also seem way simpler without the original inotify
version. I'll try to test this tomorrow, but if I can't find the time, just merge.
These are the failures I see locally some times, but not with every run:
I think the last one is solved by adding a short sleep between starting the |
I can't figure out why the The |
Changing the Client config in the tests so that a non-noisy publisher is created ( |
The |
The heartbeat issue is fixed after we have merged pytroll/posttroll#63 and released a new version of Posttroll. As a workaround we could switch the tests here to use non-noisy publishing. |
This is because of the bug solved in gorakhargosh/watchdog#1032
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #185 +/- ##
==========================================
+ Coverage 90.98% 91.08% +0.09%
==========================================
Files 24 26 +2
Lines 5247 5370 +123
==========================================
+ Hits 4774 4891 +117
- Misses 473 479 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This PR replaces pyinotify which has been unmaintained for a few years by watchdog
pyinotify
#192AUTHORS.md
if not there already