-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the lastUsed timestamp of PAT at least one minute apart (#4671)
#### What type of PR is this? /kind bug /area core #### What this PR does / why we need it: After PAT mechanism implemented by <#4598>, if we use the same PAT to request endpoints concurrently, we may encounter an error like the screenshot below: <img width="1920" alt="image" src="https://github.com/halo-dev/halo/assets/16865714/30899a0c-ad98-44a1-ae7d-0eda603945f0"> This PR fixes the problem introduced by <#4598>. We update the lastUsed timestamp of PAT at least one minute apart and with retry. #### Does this PR introduce a user-facing change? ```release-note None ```
- Loading branch information
Showing
1 changed file
with
33 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters