Thigazhezhilan J 98ef7701d1 fix: auto-refresh expired broker session on server startup
Every time pm2 restarts, the Zerodha token may be in EXPIRED state
(knocked out by the engine between midnight and 6:05 AM auto-login).
Now on startup we check each auto-login user's broker auth_state and
immediately re-login anyone who is expired/disconnected, so the broker
shows as connected the moment the user opens the website.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04 09:34:17 +05:30
2026-02-01 13:57:30 +00:00
2026-02-01 13:57:30 +00:00
2026-02-01 13:57:30 +00:00
2026-02-01 13:57:30 +00:00
2026-02-01 13:57:30 +00:00
s
2026-05-11 19:20:57 +00:00
2026-02-01 13:57:30 +00:00
2026-02-01 13:57:30 +00:00
2026-02-01 13:57:30 +00:00
2026-02-01 13:57:30 +00:00
2026-02-01 13:57:30 +00:00
2026-02-01 13:57:30 +00:00
2026-02-01 13:57:30 +00:00
2026-05-02 21:38:30 +00:00
Description
No description provided
2.7 MiB
Languages
Python 97.6%
PowerShell 1.3%
JavaScript 0.7%
Shell 0.3%