mirror of
https://github.com/weewx/weewx.git
synced 2026-04-19 00:56:54 -04:00
wee_database previously did daily summary backfills in one datbase transaction. This resulted in errors for large archives being processed on machines with relatively small amounts of memory. The TRANS-DAYS command line parameter allows the backfill to be completed in a series of database transactions using no more than TRANS-DAYS data at a time. To provide a consistent approach to logging some minor changes were made to the logging in DaySummaryManager.backfill_day_summary(), DaySummaryManager.drop_daily() and StdArchive.setup_database().