From 8ec6221ca2f88e4ec993e4036879ff18291d492b Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 15 Feb 2017 16:20:05 -0500 Subject: [PATCH] Fix health check --- data/model/health.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/data/model/health.py b/data/model/health.py index dcef9022b..0d177b400 100644 --- a/data/model/health.py +++ b/data/model/health.py @@ -1,12 +1,9 @@ import logging -from data.database import TeamRole -from util.config.validator import validate_database_url - +from data.database import TeamRole, validate_database_url logger = logging.getLogger(__name__) - def check_health(app_config): # Attempt to connect to the database first. If the DB is not responding, # using the validate_database_url will timeout quickly, as opposed to