ToolJet / ToolJet/ToolJet

Database plugins : Handle the process of releasing connections.

Open
#13,681 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement plugins
Dominant language
JavaScript
Stars
40.9k
Forks
5.4k
Avg merge
2d 18h
Merged PRs (30d)
202

Description

What is the expected behaviour?
  1. If a database connection is established directly without using connection pool, release the connection once query is completed.
  2. When a database connection is from connection pool, release the connection back to pool, once query is completed.

Note: When a new connection is created from the connection pool. Instead of trying to cache the connection, cache the connection pool. The cached connection from the connection pool will be released at the end of query execution. And the connection would become invalid later.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the database plugin paths that establish connections, obtain connections from pools, and complete queries. Done means direct connections are released after queries, pooled connections return to their pool, and the pool rather than an individual connection is cached.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.