You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docs: autoscan Debounce skips a replaced file with the same size and modification time #497
Silo-Server/silo-server#5870 changes what autoscan's Debounce setting skips. The site update waits for that pull request to merge.
The page says (src/content/docs/docs/running-a-server/autoscan.md, the paragraph on Debounce under Polling defaults on Admin > Autoscan > Settings):
skips repeat reports of an unchanged file that arrive within that many seconds. It never skips a changed or deleted file.
After #5870, autoscan decides whether a file changed by its size and its modification time, to the microsecond. It no longer looks at the file's inode. So a file replaced by another with the same size and the same modification time counts as unchanged, and a repeat report of it inside the window is skipped. "It never skips a changed or deleted file" is then wrong for that case. Deleted files, and files with a new size or modification time, are still scanned.
Out of scope: no other page mentions the debounce, and no app needs a docs change.
Suggested wording
Debounce under Polling defaults on Admin > Autoscan > Settings skips repeat reports that arrive within that many seconds for a file whose size and modification time have not changed. Deleted files, and files with a new size or modification time, are still scanned. After an event is handled, look in the library to see whether the file was scanned and matched.
Activity