# DEB-130: Configure data source syncing

> **Jira:** [DEB-130](https://divami.atlassian.net/browse/DEB-130)  
> **Source Report:** [20260315.md](../../reports/jira/20260315.md)

- **Status:** Start
- **Assignee:** Unassigned
- **Priority:** Medium
- **Created:** 2026-01-20T19:33:20.606+0530
- **Updated:** 2026-02-09T15:08:22.919+0530

**Description:**

Admin should be able to define data source syncing capabilities to define automated-periodic syncing vs manual syncing.

**Architecture Diagram:**

```mermaid
flowchart TD
    A[Admin Panel] --> B[Configure Data Source Sync]
    B --> C{Sync Mode}
    C -->|Automated| D[Set refresh interval<br/>per data source]
    C -->|Manual| E[Trigger sync on demand]
    D --> F[Job Scheduler<br/>updates schedule]
    E --> G[POST /sync/trigger]
    F --> H[Refresh Mechanism<br/>Event Queue]
    G --> H
    H --> I[Data Source Agent<br/>executes sync]
    I --> J[Update DB & Indexes]
    J --> K[Notify Core Agent<br/>sync complete]
```
