git-lfs/tq
brian m. carlson eea1f58dbc
tq: lazily initialize PktlineConnection
Right now, we spawn potentially several connections without necessarily
needing to.  For example, if we're transferring two objects, we can
practically use at most three connections: one for the batch and one for
each object.

Instead of spawning all the workers up front, let's change how we do
things and simply pass in the worker number at first.  Then, acquire the
connection when we're uploading or downloading so that the connection is
only spawned on demand.  This means that we spawn fewer workers in case
there are few objects.
2024-01-29 20:07:48 +00:00
..
schemas tq,lfsapi/ssh: convert int64 to int 2017-04-05 14:46:45 -06:00
adapterbase.go make additional message strings translatable 2022-01-29 22:36:19 -08:00
api_test.go tq/api_test.go: remove unneeded translations 2022-01-29 22:32:57 -08:00
api.go tq: make Manifest an interface 2023-03-23 16:55:57 +00:00
basic_download.go tq: make Manifest an interface 2023-03-23 16:55:57 +00:00
basic_upload.go Replace deprecated io/ioutil functions 2024-01-11 03:48:51 +08:00
custom_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
custom.go tq: make Manifest an interface 2023-03-23 16:55:57 +00:00
errors_test.go tq/errors: implement MalformedObjectError 2017-03-24 14:36:59 -06:00
errors.go tq: make strings translatable 2022-01-18 17:38:25 +00:00
manifest_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
manifest.go tq/manifest.go: lookup standalone endpoint once 2023-10-17 10:55:16 -07:00
meter.go avoid extra message format parsing where possible 2022-01-29 22:32:58 -08:00
ssh.go tq: lazily initialize PktlineConnection 2024-01-29 20:07:48 +00:00
transfer_queue_test.go tq: add exponential backoff for retries 2020-04-15 14:10:16 -07:00
transfer_queue.go tq: make Manifest an interface 2023-03-23 16:55:57 +00:00
transfer_test.go tq/transfer_test.go: enable and fix all tests 2023-07-26 17:58:12 -07:00
transfer.go tq/transfer: copy Id and Token 2023-10-02 16:22:02 -04:00
tus_upload.go Replace deprecated io/ioutil functions 2024-01-11 03:48:51 +08:00
verify_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
verify.go Set package version to v3 2021-09-02 20:41:08 +00:00