Skip to content
Snippets Groups Projects
Commit 4f5415f5 authored by Pierre-Gilles Levallois's avatar Pierre-Gilles Levallois
Browse files

set dbconnection with a keepalive value for looooong batches

parent b8d34334
No related branches found
No related tags found
No related merge requests found
Pipeline #102420 passed with warnings
......@@ -1050,6 +1050,8 @@ def initEnv():
"user" : os.getenv('DB_USER'),
"password" : os.getenv('DB_PWD'),
"database" : os.getenv('DB_NAME'),
"keepalives" : 1,
"keepalives_idle" : 5,
}
DB_schema = os.getenv('DB_SCHEMA').strip()
PythonLaunch = os.getenv('PYTHON_LAUNCH').strip()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment