Open BillKeenan opened 6 years ago
if mongo is not running when this starts up, it will never connect.
https://github.com/BillKeenan/dead-drop-python/blob/e4f9bce01c3ba3cc18d2532b61f880bcc036e8af/deadWeb/dead.py#L52
actually it does fail!! but only in the uwsgi server...
maybe use auto_retry https://stackoverflow.com/questions/9837631/how-to-check-in-pymongo-is-connection-is-still-alive#9860279
if mongo is not running when this starts up, it will never connect.
https://github.com/BillKeenan/dead-drop-python/blob/e4f9bce01c3ba3cc18d2532b61f880bcc036e8af/deadWeb/dead.py#L52