mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-07-16 14:05:49 +00:00
refactor(tasks): update job scheduling frequency and reduce max hours for old job removal 🔨
This commit is contained in:
@ -31,7 +31,6 @@ from typing import cast, Dict, Any
|
||||
from django.core.mail import send_mail
|
||||
from django.db.models import Q
|
||||
from api.notifications import send_otp
|
||||
from .tasks import add
|
||||
from .utils import check_person_api_verification
|
||||
|
||||
# local apps import
|
||||
@ -60,7 +59,6 @@ class ErrorMessages:
|
||||
|
||||
@api_view(["GET"])
|
||||
def healthcheck(request):
|
||||
add.defer(1, 2)
|
||||
return Response({"status": "Good"}, status=status.HTTP_200_OK)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user