feat(bookdrop): add ability to poll the bookdrop folder (#2768)

* feat(bookdrop): add ability to poll the bookdrop folder

* fix(bookdrop): Modify bookdrop scan behavior to only enqueue newly seen files to reduce duplicate log messages
This commit is contained in:
arjunsrinivasan1997
2026-02-17 20:19:42 -07:00
committed by GitHub
parent 05d0cc55f3
commit f4d1ba7aae
9 changed files with 218 additions and 17 deletions
@@ -0,0 +1,5 @@
INSERT INTO task_cron_configuration (task_type, cron_expression, enabled, created_by)
SELECT 'BOOKDROP_PERIODIC_SCANNING', '0 */10 * * * *', FALSE, -1
WHERE NOT EXISTS (
SELECT 1 FROM task_cron_configuration WHERE task_type = 'BOOKDROP_PERIODIC_SCANNING'
);