Handle file/tag changes properly #4
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
hysync/hymount#4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As it stands, hymount only fetches the file list once during the mount operation and never again. This could lead to issues where file tags update or change.
todo: check if hydrus is able to provide a listener for file changes, this can and probably will lead to absolute horrid performance on large databases but could be a nice toggle.
Automatic message: Note: the Hydrus Client API has no file-change listener — no webhook, WebSocket, SSE or subscription endpoint exists. There is no "something changed since X" feed either, so change detection has to be polling (re-run the search +
file_metadataon an interval and diff against the index), with an interval/toggle to keep it cheap on large databases.