R
Railway9mo ago
Dayblox

Database Sleeping

I spun up a PostgreSQL database and added some table and rows. I continue seeing some outbound traffic, causing it to never sleep even if no one is querying the database. ID: 1fccf7a5-79ac-494c-baad-16914606fd3f
Solution:
gotta somehow get the database to stop making network requests
Jump to solution
8 Replies
Percy
Percy9mo ago
Project ID: 1fccf7a5-79ac-494c-baad-16914606fd3f
Solution
Brody
Brody9mo ago
gotta somehow get the database to stop making network requests
Dayblox
Dayblox9mo ago
Could healthchecks be a cause?
Brody
Brody9mo ago
railways healthchecks are only done once at start
Dayblox
Dayblox9mo ago
Alright nevermind It ended up sleeping after a restart
Dayblox
Dayblox9mo ago
It took 8-9 minutes
No description
Brody
Brody9mo ago
awsome i have setup automated sleep time testing
Dayblox
Dayblox9mo ago
Nice