Skip to content

Limit HikariCP pool size for shared DB cluster#184

Merged
grovecj merged 1 commit intomainfrom
fix/hikari-pool-size
Feb 23, 2026
Merged

Limit HikariCP pool size for shared DB cluster#184
grovecj merged 1 commit intomainfrom
fix/hikari-pool-size

Conversation

@grovecj
Copy link
Owner

@grovecj grovecj commented Feb 23, 2026

Summary

  • Reduces HikariCP connection pool from default 10 to max 5 (min idle 2)
  • Prevents remaining connection slots are reserved for roles with the SUPERUSER attribute errors on the shared DO PostgreSQL cluster
  • Pool size remains configurable via HIKARI_MAX_POOL_SIZE and HIKARI_MIN_IDLE env vars

Context

The shared DigitalOcean managed PostgreSQL cluster has ~22 connection slots. With mlb-stats (10), gif-clipper (10), and cartergrove-me (10) all using defaults, the cluster runs out of connections. This change is coordinated across all three repos.

Test plan

  • Merge and verify deployment succeeds
  • Confirm app functions normally with reduced pool

🤖 Generated with Claude Code

The shared DigitalOcean PostgreSQL cluster has limited connection slots.
Reduces HikariCP pool from default 10 to max 5 / min idle 2 to leave
room for other services on the cluster.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@grovecj grovecj merged commit fdcf964 into main Feb 23, 2026
5 checks passed
@grovecj grovecj deleted the fix/hikari-pool-size branch February 23, 2026 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant