-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extend socket jwt ttl timeout #6028
Conversation
To prevent db outage on deploy we're extending the socket jwt ttl on the server side, but we need to also extend how long we cache it on the frontend, or that is pointless.
1dc0156
to
b50ac39
Compare
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit b50ac39:
|
Build for latest commit b50ac39 is at https://pr6028.build.csb.dev/s/new. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Looking forward to this change going live! 💯
To improve server deploys, we're extending the socket jwt ttl on the server side, but
we need to also extend how long we cache it on the frontend, or all this is pointless.
[Note: requires the server changes to be deployed first!!]
What kind of change does this PR introduce?
Extend how long we cache JWTs for to improve server deploys
What is the current behavior?
Everyone reconnects at the same time and the DB doesn't like that
What is the new behavior?
What steps did you take to test this? This is required before we can merge, make sure to test the flow you've updated.
Checklist