Glitch sleep/wake cycle vs. Node.js database connection pool: preventing intermittent exhaustion
I'm running a Node.js project on Glitch that connects to an external database through a connection pool. Under low traffic, the project sleeps after about 5 minutes without HTTP requests, and I suspect this sleep/wake cycle is behind intermittent pool exhaustion: after several wake cycles, the pool appears to hit its limit even though actual query volume is