mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-07-04 05:12:28 +00:00
Refactor task management: replace Celery with Procrastinate for background tasks and update related configurations
This commit is contained in:
@ -60,7 +60,7 @@ class ErrorMessages:
|
||||
|
||||
@api_view(["GET"])
|
||||
def healthcheck(request):
|
||||
add.delay(1, 2)
|
||||
add.defer(1, 2)
|
||||
return Response({"status": "Good"}, status=status.HTTP_200_OK)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user