darwin: if default fs_monitor is not available, others are not used
Bug #1055791 reported by
Mike McCracken
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Confirmed
|
High
|
Mike McCracken |
Bug Description
if the monitor class specified as 'default' in the fs_monitor setting - currently the root daemon - is not available (for instance, if it's not installed), then the other one, which is intended to be a fallback, is not used.
Currently the logic assumes that you only want to fallback to the default from a non-standard setting.
However, we want to use the root daemon as the default but provide the other one as an automatic fallback.
The current code doesn't do that.
see get_filemonitor
To post a comment you must log in.
per discussion with ralsina on irc - we should use a list of monitors instead of a dictionary, and just try them in order of preference.