mirror of https://github.com/ekimekim/wubloader
cutter, sheetsync: Wait for DB to connect on startup
This is a nicer error than crashing in the depths of some error handler (which is what will happen if the DB goes unavailable while they're running), and it's a far more common case (eg. the DB is misconfigured) than having it fail halfway through. Neither of these services can do anything meaningful without the DB, so crashing without it is acceptable behaviour.pull/119/head
parent
0e437566aa
commit
17af1c4e89
Loading…
Reference in New Issue