Remove broker session rest

Reverts 062ec07 and 5eb0ea7: every firm's broker session stays logged in
around the clock again, renewing its token on the fixed timer as before.
The tree is back to 6dd2528's. A session_rest row left in settings is
unused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Li
2026-10-21 23:39:53 -05:00
co-authored by Claude Opus 5.5
parent 062ec07f0a
commit 5ec5abde6e
19 changed files with 43 additions and 901 deletions
-4
View File
@@ -174,9 +174,5 @@ export interface FirmState {
firmId: string;
firm: string;
connected: boolean;
/** The broker session is logged out while nothing needs it (session rest,
* lib/clients.ts): accounts show as last synced. wakeAt is when it logs
* back in by itself, null when only trading starting will. */
resting?: { since: number; wakeAt: number | null };
accounts: AccountState[];
}