> > Rasing a WeeWxIOError shut down the engine, which retries again and starts > up again if the MySQL server is back online. The problem is that it no > longer updates the local database either. > > If there is an exception to be raised that would restart the connection to > the database without shutting down the engine, it would be my preference. > > That would require a rewrite of the MySQL driver. It also introduces a problem: if the retries are tried in the driver, it will cause weewx to block in the driver until the database server comes back online. So, the retries would have to be limited to 60 seconds or so at the most.
Let me think about this. Posted as issue #259 <https://github.com/weewx/weewx/issues/259>. -tk -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
