From a0abed5ea08b2fc5b9ac4abdade1199f62cd5da7 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Fri, 11 Oct 2024 21:19:45 -0400 Subject: Split the login transaction, to reduce database contention during login --- src/login/history.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/login/history.rs') diff --git a/src/login/history.rs b/src/login/history.rs index add7d1e..f8d81bb 100644 --- a/src/login/history.rs +++ b/src/login/history.rs @@ -18,7 +18,8 @@ impl History { // Snapshot of this login as it was when created. (Note to the future: it's okay // if this returns a redacted or modified version of the login. If we implement - // renames by redacting the original name, then this should return the edited login, not the original, even if that's not how it was "as created.") + // renames by redacting the original name, then this should return the edited + // login, not the original, even if that's not how it was "as created.") #[cfg(test)] pub fn as_created(&self) -> Login { self.login.clone() -- cgit v1.2.3