This PR addresses the "Too many connections" issue encountered when storing runtime statistics for workflows. Previously, a new JDBC connection was created for each workflow execution, which led to scalability issues when handling a large number of users or concurrent workflows.
Fix
This update introduces a single, shared JDBC connection that is reused across all workflow executions, significantly improving scalability and reducing the risk of connection overload.
This PR addresses the "Too many connections" issue encountered when storing runtime statistics for workflows. Previously, a new JDBC connection was created for each workflow execution, which led to scalability issues when handling a large number of users or concurrent workflows.
Fix This update introduces a single, shared JDBC connection that is reused across all workflow executions, significantly improving scalability and reducing the risk of connection overload.