Upgrade failed due to unclean database shutdown

Spotted something interesting in the cheap hosting thread:

It is actually so slow that templates/postgres.template.yml had to be manually modified from sleep 5 to sleep 60 for postgres.

Or could @zsero share us what kind of issues he experienced before making the modification?