Skip to content

Commit 67707d9

Browse files
Ubuntuclaude
andcommitted
fix: Add BookStack and Obsidian to periodic scheduler task_map
BookStack (`BOOKSTACK_CONNECTOR`) and Obsidian (`OBSIDIAN_CONNECTOR`) were missing from the `task_map` in `schedule_checker_task.py`. This caused periodic/scheduled indexing to silently skip these connectors even when periodic sync was enabled in the UI. The tasks (`index_bookstack_pages_task`, `index_obsidian_vault_task`) exist and are registered in `connector_tasks.py` and routed to the connectors queue in `celery_app.py` — they were just never wired into the scheduler's dispatch map. FIX #891 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 54e56e1 commit 67707d9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

surfsense_backend/app/tasks/celery_tasks/schedule_checker_task.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ async def _check_and_trigger_schedules():
5454
# Import all indexing tasks
5555
from app.tasks.celery_tasks.connector_tasks import (
5656
index_airtable_records_task,
57+
index_bookstack_pages_task,
5758
index_clickup_tasks_task,
5859
index_composio_connector_task,
5960
index_confluence_pages_task,
@@ -68,6 +69,7 @@ async def _check_and_trigger_schedules():
6869
index_linear_issues_task,
6970
index_luma_events_task,
7071
index_notion_pages_task,
72+
index_obsidian_vault_task,
7173
index_slack_messages_task,
7274
)
7375

@@ -87,6 +89,8 @@ async def _check_and_trigger_schedules():
8789
SearchSourceConnectorType.LUMA_CONNECTOR: index_luma_events_task,
8890
SearchSourceConnectorType.ELASTICSEARCH_CONNECTOR: index_elasticsearch_documents_task,
8991
SearchSourceConnectorType.WEBCRAWLER_CONNECTOR: index_crawled_urls_task,
92+
SearchSourceConnectorType.BOOKSTACK_CONNECTOR: index_bookstack_pages_task,
93+
SearchSourceConnectorType.OBSIDIAN_CONNECTOR: index_obsidian_vault_task,
9094
SearchSourceConnectorType.GOOGLE_DRIVE_CONNECTOR: index_google_drive_files_task,
9195
# Composio connector types
9296
SearchSourceConnectorType.COMPOSIO_GOOGLE_DRIVE_CONNECTOR: index_composio_connector_task,

0 commit comments

Comments
 (0)