mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-02-26 12:59:17 -05:00
* remove intermediate bool from adjust_day. * rewrite LockedDatabase::list_aggregate_recordings. I started by collapsing the flush into the first part of the if, in a similar way to adjust_day. But then I refactored more and ended up with a structure that probably would have been allowed with the old lexical borrow checker. I think it's more readable, and it does 1 btree operation per row where before it did 2 or 3.