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>
Description
No description provided
Languages
Python
97.6%
PowerShell
1.3%
JavaScript
0.7%
Shell
0.3%