Keep HTTP responsive during confluence replay.
CI / Test (push) Canceled after 0s
CI / Build and push (push) Canceled after 0s

Boot replay was a tight CPU loop that wedged the Unraid backend, so login hit the 8s client timeout. Yield every few as-of dates, shorten the boot ledger fill, and make /health a cheap liveness check.
This commit is contained in:
Investor Flow Build
2026-09-09 10:16:36 -04:00
parent 7426103d73
commit 0b901fc190
3 changed files with 12 additions and 3 deletions
+2 -1
View File
@@ -1008,7 +1008,8 @@ export const api = {
},
auth: {
signup: (email: string, password: string) => trpcMutate<{ userId: string }>("auth.signup", { email, password }),
login: (email: string, password: string, totp?: string) => trpcMutate<{ userId: string }>("auth.login", { email, password, ...(totp ? { totp } : {}) }),
login: (email: string, password: string, totp?: string) =>
trpcMutate<{ userId: string }>("auth.login", { email, password, ...(totp ? { totp } : {}) }, 20_000),
logout: () => trpcMutate<{ ok: boolean }>("auth.logout", {}),
changePassword: (current: string, next: string) =>
trpcMutate<{ ok: boolean }>("auth.changePassword", { current, next }),