Skip to content

Commit

Permalink
Removing S3 endpoint - revert later when we can discriminate between …
Browse files Browse the repository at this point in the history
…public and caseworker portals. DST-548
  • Loading branch information
chris-pettinga committed Nov 11, 2024
1 parent 1f1063f commit 68084ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions django_app/healthcheck/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.http import HttpRequest, HttpResponse
from django.shortcuts import render
from django.views.generic import View
from healthcheck.checks import db_check, s3_check
from healthcheck.checks import db_check


class HealthCheckView(View):
Expand All @@ -20,8 +20,8 @@ def get(self, request: HttpRequest, *args: object, **kwargs: object) -> HttpResp

start = time.time()
is_db_good = db_check()
is_s3_good = s3_check()
all_good = is_db_good and is_s3_good
# is_s3_good = s3_check()
all_good = is_db_good and True

end = time.time()
time_taken = round(end - start, 3)
Expand Down

0 comments on commit 68084ac

Please sign in to comment.