Skip to content

Commit

Permalink
Change CONN_MAX_AGE
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosribas committed Jan 6, 2025
1 parent 966ceef commit f790d3a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ else
"PASSWORD": "$DB_PASSWORD",
"HOST": "$DB_HOST",
"PORT": "$DB_PORT",
"CONN_MAX_AGE": 0
"CONN_MAX_AGE": 120
}
}
EOF
Expand Down
1 change: 0 additions & 1 deletion rnacentral/rnacentral/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"PORT": os.getenv("DB_PORT", 5432),
}
}
CONN_MAX_AGE = 300

# Hosts/domain names that are valid for this site; required if DEBUG is False
# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
Expand Down

0 comments on commit f790d3a

Please sign in to comment.