git-lfs/tq
Billy Keyes cf022164c6 tq: add exponential backoff for retries
Previously, retries happened as fast as possible unless the server
provided the Retry-After header. This is effective for certain types of
errors, but not when the LFS server is experiencing a temporary but not
instantaneous failure. Delaying between retries lets the server recover
and the LFS operation complete.

Delays start at a fixed 250ms for the first retry and double with each
successive retry up to a configurable maximum delay, 10s by default. The
maximum retry is configurable using lfs.transfer.maxretrydelay. Delays
can be disabled by setting the max delay to 0.
2020-04-15 14:10:16 -07:00
..
schemas tq,lfsapi/ssh: convert int64 to int 2017-04-05 14:46:45 -06:00
adapterbase.go Fix error strings to follow Go guidelines 2019-10-22 17:33:49 +03:00
api_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
api.go Don't fail if we lack objects the server has 2019-07-15 20:47:04 +00:00
basic_download.go Store temporary file name for removing on defer block. 2019-12-06 10:50:14 +09:00
basic_upload.go fix upload retry 'file already closed' issue' 2020-02-26 11:13:54 +08:00
custom_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
custom.go Fix error strings to follow Go guidelines 2019-10-22 17:33:49 +03:00
errors_test.go tq/errors: implement MalformedObjectError 2017-03-24 14:36:59 -06:00
errors.go tq/errors: implement MalformedObjectError 2017-03-24 14:36:59 -06:00
manifest_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
manifest.go tq: add exponential backoff for retries 2020-04-15 14:10:16 -07:00
meter.go Use proper repo permissions when creating directories 2018-12-13 17:51:02 +00:00
transfer_queue_test.go tq: add exponential backoff for retries 2020-04-15 14:10:16 -07:00
transfer_queue.go tq: add exponential backoff for retries 2020-04-15 14:10:16 -07:00
transfer_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
transfer.go Don't fail if we lack objects the server has 2019-07-15 20:47:04 +00:00
tus_upload.go Fix error strings to follow Go guidelines 2019-10-22 17:33:49 +03:00
verify_test.go tq: use correct access 2018-09-28 14:16:55 -07:00
verify.go tq: ensure we pass the correct Accept header in verify requests 2019-05-22 21:01:54 +00:00