Track the last persistence status with an enum
Use a sticky LastPersistenceStatus instead of a bool, and skip a disabled persist with Ok(None) so shutdown does not need a separate check. Co-authored-by:Luke Sandberg <210140+lukesandberg@users.noreply.github.com> Co-authored-by:
Tobias Koppers <1365881+sokra@users.noreply.github.com>
Showing
Please
register
or
sign in
to comment