Skip to content

Commit

Permalink
fix(manager): reduce size of job-controller's db connection pool (rea…
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonadoni committed Aug 6, 2024
1 parent ba50def commit 395b870
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reana_workflow_controller/workflow_run_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,8 @@ def _create_job_spec(
"name": "REANA_SQLALCHEMY_DATABASE_URI",
"value": SQLALCHEMY_DATABASE_URI,
},
# reduce the number of open database connections kept in the pool
{"name": "SQLALCHEMY_POOL_SIZE", "value": "1"},
{"name": "REANA_STORAGE_BACKEND", "value": REANA_STORAGE_BACKEND},
{"name": "REANA_COMPONENT_PREFIX", "value": REANA_COMPONENT_PREFIX},
{
Expand Down

0 comments on commit 395b870

Please sign in to comment.