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

better support for network issues #848

Closed
3 tasks
technoweenie opened this issue Nov 20, 2015 · 0 comments
Closed
3 tasks

better support for network issues #848

technoweenie opened this issue Nov 20, 2015 · 0 comments
Labels

Comments

@technoweenie
Copy link
Contributor

  • Support configurable http/tcp timeouts.

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.

@technoweenie technoweenie mentioned this issue Nov 20, 2015
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants