Skip to content
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

lastRequestTime is incorrect in 4.x but correct in 3.x #283

Closed
gitSambhal opened this issue Jul 18, 2024 · 0 comments · Fixed by #284
Closed

lastRequestTime is incorrect in 4.x but correct in 3.x #283

gitSambhal opened this issue Jul 18, 2024 · 0 comments · Fixed by #284

Comments

@gitSambhal
Copy link

gitSambhal commented Jul 18, 2024

lastRequestTime value is always the original request time in the version 4.x but it is correct in 3.x.
Here could be the issue.

Version 4.x
https://replit.com/@sambhal/axios-retry-issue-283

Output

{ lastRequestTime: 1721308860542 }
{ lastRequestTime: 1721308860542 }
{ lastRequestTime: 1721308860542 }

Version 3.x
https://replit.com/@sambhal/axios-retry-issue-283-v3

Output

{ lastRequestTime: 1721308844286 }
{ lastRequestTime: 1721308845679 }
{ lastRequestTime: 1721308846359 }
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 a pull request may close this issue.

1 participant