git-annex/Assistant/Threads
Joey Hess c7c2015435 add ConfigMonitor thread
Monitors git-annex branch for changes, which are noticed by the Merger
thread whenever the branch ref is changed (either due to an incoming push,
or a local change), and refreshes cached config values for modified config
files.

Rate limited to run no more often than once per minute. This is important
because frequent git-annex branch changes happen when files are being
added, or transferred, etc.

A primary use case is that, when preferred content changes are made,
and get pushed to remotes, the remotes start honoring those settings.
Other use cases include propigating repository description and trust
changes to remotes, and learning when a remote has added a new special
remote, so the webapp can present the GUI to enable that special remote
locally.

Also added a uuid.log cache. All other config files already had caches.
2012-10-20 16:43:35 -04:00
..
Committer.hs revert bad change 2012-10-09 13:49:27 -04:00
ConfigMonitor.hs add ConfigMonitor thread 2012-10-20 16:43:35 -04:00
DaemonStatus.hs display errors when any named thread crashes 2012-09-06 14:56:04 -04:00
Merger.hs add ConfigMonitor thread 2012-10-20 16:43:35 -04:00
MountWatcher.hs better variable name 2012-10-14 14:50:03 -04:00
NetWatcher.hs avoid some warnings when built w/o dbus 2012-09-29 16:09:07 -04:00
PairListener.hs avoid pairlistener crash 2012-10-10 16:48:06 -04:00
Pusher.hs better variable name 2012-10-14 14:50:03 -04:00
SanityChecker.hs use gitRepo 2012-10-12 01:17:45 -04:00
TransferPoller.hs use gitRepo 2012-10-12 01:17:45 -04:00
Transferrer.hs quiet calls to transferkey 2012-09-24 13:36:05 -04:00
TransferScanner.hs check and drop after uploads 2012-10-18 16:05:43 -04:00
TransferWatcher.hs nasty race workaround 2012-10-19 16:59:18 -04:00
Watcher.hs check preferred content when a file is moved or created 2012-10-19 14:22:13 -04:00
WebApp.hs import S3 only when enabled 2012-10-18 12:42:57 -04:00