poolhog
Find the code that is holding your Postgres connections in Node.js
What XERJ indexed
Snapshot
The whole repository at commit 2fa1915f88. It is the newest commit on main.
Selected work

“wrap pool.connect and client.release for leak detection”. 5 files, 188 lines in tests, src, the project root.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-26. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
connection-poolingdebugging-toolleak-detectionnode-jsnode-postgrespg-poolpostgrespostgresql-database
Example questions
- How does poolhog implement connection-pooling?
- Where does poolhog handle “wrap pool.connect and client.release for leak detection”?
- Show the debugging-tool code in poolhog.
The prompt
Paste it into your AI agent. It clones Harsh-Vaghela-404/poolhog at the pinned commit and indexes it on your machine.
Search the GitHub repository Harsh-Vaghela-404/poolhog with XERJ (https://hub.xerj.org/corpus/harsh-vaghela-404--poolhog). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/Harsh-Vaghela-404/poolhog poolhog && git -C poolhog checkout 2fa1915f887430cf2fee121bbd42837784eed12a 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./poolhog --url http://127.0.0.1:9200 --prefix poolhog --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
Harsh VaghelaDatabases and storage engines corporacloudnative-pggotxobotyi--cc-foundry-javascriptParsaAzima/DBAgenttimgit/pg-bossZhan017/dastar
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.