Skip to content

Base refresh timeout on diff from current time#477

Merged
HassanAbouelela merged 1 commit into
mainfrom
update-refresh-timeout-logic
Jul 2, 2022
Merged

Base refresh timeout on diff from current time#477
HassanAbouelela merged 1 commit into
mainfrom
update-refresh-timeout-logic

Conversation

@ChrisLovering
Copy link
Copy Markdown
Member

Previously the logic was using the expiry date's unix timestamp as if it was a number of ms until it expired. This caused the timeout to be far after the actual token expiry.

Previously the logic was using the expiry date's unix timestamp as if it was a number of ms until it expired. This caused the timeout to be far after the actual token expiry.
@ChrisLovering ChrisLovering requested a review from ks129 as a code owner July 2, 2022 19:56
@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 2, 2022

Deploy Preview for pydis-forms ready!

Name Link
🔨 Latest commit deb9640
🔍 Latest deploy log https://app.netlify.com/sites/pydis-forms/deploys/62c0a2df2402a30008f4ee1e
😎 Deploy Preview https://deploy-preview-477--pydis-forms.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@HassanAbouelela HassanAbouelela merged commit 145b8ad into main Jul 2, 2022
@HassanAbouelela HassanAbouelela deleted the update-refresh-timeout-logic branch July 2, 2022 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants