This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Tornado/Momoko/AutoReload | |
========================= | |
Problem: | |
-------- | |
If the connection to the database Postgres distructed - momoko can not re-create the connection pool. | |
To solve this problem you need to restart the application. To automate this process, I wrote a small script that use the built-in tornado update mechanism. | |
Solution: |