Commit c6259dbc authored by Guido Trotter's avatar Guido Trotter
Browse files

confd: start in polling mode

This allows us not to enable the inotify handler immediately, and thus
to make it easier for us should the config file not exist at all.
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarIustin Pop <>
parent e369f21d
......@@ -115,7 +115,6 @@ class ConfdInotifyEventHandler(pyinotify.ProcessEvent):
self.file = file
self.watch_handle = None
def enable(self):
"""Watch the given file
......@@ -204,7 +203,7 @@ class ConfdConfigurationReloader(object):
self.processor = processor
self.mainloop = mainloop
self.polling = False
self.polling = True
self.last_notification = 0
# Asyncronous inotify handler for config changes
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment