PhilanthropyDataCommons / deploy

Deployment scripts for Philanthropy Data Commons service
GNU Affero General Public License v3.0
2 stars 2 forks source link

Reduce the wait between DB service health checks #104

Closed bickelj closed 7 months ago

bickelj commented 7 months ago

This change should result in lower startup times, from around 30 seconds to under 20 seconds (hopefully under 15 seconds). The idea is that if the database (DB) needs to be running first and it does run first, we can let that check happen before the first check for the web application. Right now I think the first check is at 10s, the web service then starts, next check at 20s, nginx starts, next check at 30s, and it's up then. With this schedule it should be more like first check at 7s, web service starts, second check at 10s, nginx starts, and then by 14s or 20s nginx should be up.

Issue #48 Improve the deployment startup duration