Something went wrong. Try again.
Track limited-time free drops across Twitch, Kick, and Chzzk. ttvdrops.lovinator.space
Something went wrong. Try again.
123456789101112131415161718from __future__ import annotations
import logging
from celery import shared_taskfrom django.core.management import call_command
logger: logging.Logger = logging.getLogger("ttvdrops.tasks")
@shared_task(bind=True, queue="default", max_retries=3, default_retry_delay=300)def submit_indexnow_task(self) -> None: # ruff:ignore[missing-type-function-argument] """Submit all site URLs to the IndexNow search index.""" try: call_command("submit_indexnow") except Exception as exc: raise self.retry(exc=exc) from exc