Commit 61995562 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

Don't apply maintenance mode for heartbeat view

It's necessary for kubernetes health checks.
parent 37eb3a61
import logging
from django.http import HttpResponse
from django.views.generic.edit import FormView
import logging
from .decorators import ignore_maintenance_mode
# Set up logger
logger = logging.getLogger(__name__)
def heartbeat(request):
# Do something (?) and return 200 response
return HttpResponse()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment