replaced inotify with a polling loop

This commit is contained in:
2026-03-05 09:03:18 -05:00
parent 32f52f3faf
commit 0c39445d71
3 changed files with 53 additions and 35 deletions

View File

@@ -20,3 +20,10 @@ INCOMING_DIR=./incoming
# Set to "true" to automatically run import.sh after watch-imports.sh stages a file
AUTO_IMPORT=false
# Polling interval in seconds — how often watch-imports.sh scans INCOMING_DIR (default: 10)
POLL_INTERVAL=10
# Seconds a file must be unmodified before it is processed (default: 3)
# Increase this if files are large or your network is slow
FILE_STABLE_AGE=3