typelevel / typelevel/skunk

Cannot configure Recycler on connection pool

Open
#877 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
1.7k
Forks
175
Avg merge
5d 14h
Merged PRs (30d)
9

Description

The connection pool uses the full recycler and there is no way to change this behavior.
As mentioned here this might not be the best default for every application.

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

Start with modules/core/shared/src/main/scala/Session.scala, especially the linked lines around the connection pool's recycler choice. Trace how the pool is constructed and determine where an application-provided recycler could be accepted instead of always using the full recycler. Done means callers can configure this behavior while the existing default remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgres, scala
Domain
database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.