Keep HTTP responsive during confluence replay.
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:
+2
-1
@@ -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 }),
|
||||
|
||||
Reference in New Issue
Block a user