Improve performance and add type hints
This commit is contained in:
parent
1782db4840
commit
b7e10e766e
23 changed files with 745 additions and 178 deletions
|
|
@ -5,7 +5,7 @@ import logging
|
|||
from celery import shared_task
|
||||
from django.core.management import call_command
|
||||
|
||||
logger = logging.getLogger("ttvdrops.tasks")
|
||||
logger: logging.Logger = logging.getLogger("ttvdrops.tasks")
|
||||
|
||||
|
||||
@shared_task(bind=True, queue="default", max_retries=3, default_retry_delay=300)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue