Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Pages direct upload failing with expired JWT error (#2687)
For projects which are slow to upload - either because of client bandwidth or large numbers of files and sizes - It's possible for the JWT to expire multiple times. Since our network request concurrency is set to 3, it's possible that each time the JWT expires we get 3 failed attempts. This can quickly exhaust our upload attempt count and cause the entire process to bail. This change makes it such that jwt refreshes do not count as a failed upload attempt.
- Loading branch information