You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the default timeouts are generous if you're on the same continent as the lfs servers, users should be able to customize their timeouts if they have frequent problems. Another thing to consider is whether the defaults should be increased too.
The batch api lets servers return an optional expires_at field as a hint to the client that a 403 response may mean the credentials have expired. At the least, the client should say something (either through GIT_TRACE or STDERR). Ideally, it could call the batch api for affected files again and retry the upload automatically.
Support configurable batch sizes
In the absence of batch api retries for storage requests with expired tokens, users should be able to turn down the batch size a bit. This will force the client to hit the LFS batch API more often to receive fresher tokens.
The text was updated successfully, but these errors were encountered:
While the default timeouts are generous if you're on the same continent as the lfs servers, users should be able to customize their timeouts if they have frequent problems. Another thing to consider is whether the defaults should be increased too.
expires_at
field for possible storage api issues.The batch api lets servers return an optional
expires_at
field as a hint to the client that a 403 response may mean the credentials have expired. At the least, the client should say something (either throughGIT_TRACE
orSTDERR
). Ideally, it could call the batch api for affected files again and retry the upload automatically.In the absence of batch api retries for storage requests with expired tokens, users should be able to turn down the batch size a bit. This will force the client to hit the LFS batch API more often to receive fresher tokens.
The text was updated successfully, but these errors were encountered: