Keep an LRU cache[1] of inotify watches (or GFileMonitors more likely)
on the last 350 used files. Log some relevant event when they change.

This could be done either from an extension or a DP. The tricky part
os probably making sure that we don't log a lot of dupe entries (I'm
not sure the DataSourceRegistry is enough here).

[1]: Reviving my old impl from the bzr history would probably be
sanest - there are some very bad Python lru cache implementations
floating the interwebs. Caveat emptor.

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to