Skip to main content

refresh_task

Function refresh_task 

Source
pub async fn refresh_task(
    client: &CloudflareClient,
    state: &AppState,
    rd: State<String>,
    st: State<String>,
)
Expand description

Refresh DNS records only (used for manual refresh).

Invalidates the cache before fetching fresh records from the API.