Maintenance will be performed on,,, and on Tuesday 22nd September 2020 starting at approximately 9am MST.It is expected to take around 15 minutes and there will be a short period of downtime towards the end of the maintenance window. Please address any comments, questions, or concerns to

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