Skip to content

Commit

Permalink
Update settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
catgirlinspace authored Nov 27, 2023
1 parent 330110f commit 93fb0f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions splashcat/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
}
}
elif len(sys.argv) > 0 and sys.argv[1] != 'collectstatic':
database_connection_details = dj_database_url.parse(database_url, conn_max_age=None, conn_health_checks=True)
database_connection_details = dj_database_url.parse(database_url, conn_max_age=None, conn_health_checks=False)

if FLY_REGION != FLY_PRIMARY_REGION:
database_connection_details["PORT"] = 5433
Expand All @@ -155,7 +155,7 @@
}

CONN_MAX_AGE = None
CONN_HEALTH_CHECKS = True
CONN_HEALTH_CHECKS = False

# Password validation
# https://docs.djangoproject.com/en/4.2/ref/settings/#auth-password-validators
Expand Down

0 comments on commit 93fb0f9

Please sign in to comment.