Support manual rescan/sync for magic-folder #2884

Closed
opened 2017-06-22 05:38:43 +00:00 by cypher · 1 comment
cypher commented 2017-06-22 05:38:43 +00:00
Owner

As it currently stands, after the initial startup scan/check, magic-folder will check for and download remote files according to the schedule specified by the poll_interval setting in tahoe.cfg. It may be useful, however, for users and applications to be able to check for remote changes on a "manual" basis in conjunction with or independently of the schedule specified by poll_interval. For example, if Alice and Bob belong to the same magic-folder and Alice informs Bob that she just uploaded a new file for him, Bob must wait some period of time (up to 60 seconds by default) or restart his tahoe client before the download proceeds (which may test Bob's patience). It may thus be useful for Bob (or any future magic-folder-based applications) to be able to make a some API call and/or run some subcommand (e.g., tahoe magic-folder rescan or tahoe magic-folder sync) to poll for remote changes immediately and download any new files that might be available.

As it currently stands, after the initial startup scan/check, magic-folder will check for and download remote files according to the schedule specified by the `poll_interval` setting in `tahoe.cfg`. It may be useful, however, for users and applications to be able to check for remote changes on a "manual" basis in conjunction with or independently of the schedule specified by `poll_interval`. For example, if Alice and Bob belong to the same magic-folder and Alice informs Bob that she just uploaded a new file for him, Bob must wait some period of time (up to 60 seconds by default) or restart his tahoe client before the download proceeds (which may test Bob's patience). It may thus be useful for Bob (or any future magic-folder-based applications) to be able to make a some API call and/or run some subcommand (e.g., `tahoe magic-folder rescan` or `tahoe magic-folder sync`) to poll for remote changes immediately and download any new files that might be available.
tahoe-lafs added the
unknown
normal
enhancement
1.12.1
labels 2017-06-22 05:38:43 +00:00
tahoe-lafs added this to the undecided milestone 2017-06-22 05:38:43 +00:00
tahoe-lafs added
minor
and removed
normal
labels 2017-09-19 19:35:49 +00:00
tahoe-lafs added
code-frontend-magic-folder
and removed
unknown
labels 2019-01-29 16:01:46 +00:00
exarkun commented 2020-01-21 20:27:29 +00:00
Author
Owner

Push notification of change events from the grid to Bob's client would let Bob's client know about changes immediately and automatically.

Push notification of change events from the grid to Bob's client would let Bob's client know about changes immediately and automatically.
tahoe-lafs added the
wontfix
label 2020-01-21 20:27:29 +00:00
exarkun closed this issue 2020-01-21 20:27:29 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#2884
No description provided.