diff options
author | 2017-09-20 14:37:20 -0400 | |
---|---|---|
committer | 2017-09-20 15:29:13 -0400 | |
commit | 3826ef1923a35ef8794f0e3beb0f94f0f40fd9be (patch) | |
tree | 0a0af9d00654786c9196f8f13c973e597cfb65fd /doc | |
parent | d20933a25956a3a07247f66fe3a554761d616173 (diff) |
add exporter thread to assistant
This is similar to the pusher thread, but a separate thread because git
pushes can be done in parallel with exports, and updating a big export
should not prevent other git pushes going out in the meantime.
The exportThread only runs at most every 30 seconds, since updating an
export is more expensive than pushing. This may need to be tuned.
Added a separate channel for export commits; the committer records a
commit in that channel.
Also, reconnectRemotes records a dummy commit, to make the exporter
thread wake up and make sure all exports are up-to-date. So,
connecting a drive with a directory special remote export will
immediately update it, and getting online will automatically
update S3 and WebDAV exports.
The transfer queue is not involved in exports. Instead, failed
exports are retried much like failed pushes.
This commit was sponsored by Ewen McNeill.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/todo/export.mdwn | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/todo/export.mdwn b/doc/todo/export.mdwn index 7500de097..c33078668 100644 --- a/doc/todo/export.mdwn +++ b/doc/todo/export.mdwn @@ -17,8 +17,6 @@ there need to be a new interface in supported remotes? Work is in progress. Todo list: -* Make assistant update tracking exports. - * Support configuring export in the assistant (when eg setting up a S3 special remote). |