Files
better-auth/packages
ping-maxwellandAlex Yang bb51390a36 chore: session refetch cooldown for window focus
Everytime you focus the browser, we make a get-session request.
If you alt+tab between the browser frequently, you would hit your server several times (and thus the DB too) within the span of a couple seconds.
It's unnessesary to get the session each browser refocus within the span of a couple seconds.
2025-11-20 15:52:29 -08:00
..
2025-11-19 18:57:58 -08:00
2025-11-19 18:57:58 -08:00
2025-11-19 18:57:58 -08:00
2025-11-19 18:57:58 -08:00