sourcegraph/lib/codeintel
Noah S-C de4d5471e3
codeintel: allow configuring max concurrency in uploads (#56117)
Our HTTP endpoints have a [hard-coded timelimit of 75s](https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/sourcegraph/sourcegraph%24+75+*+lang:Go&patternType=standard&sm=1&groupBy=path). On slower connections with multipart uploads, it is possible for the bandwidth congestion of the competing upload parts to result in the upload failing due to any part taking longer than 75s to upload. 
This PR adds a new toggleable to configure the number of parts to be uploaded concurrently, so reduce the congestion/competing between parts.

## Test plan

Tested in combination with src-cli over at https://github.com/sourcegraph/src-cli/pull/1023
2023-08-28 21:56:00 +01:00
..
autoindex/config cleanup: Delete code for index job hints (#55863) 2023-08-16 08:14:32 +08:00
languages scip-ctags: add Python, Java and C# (#52880) 2023-06-12 06:47:13 -04:00
lsif bzl: convert go generate + stringer to bazel (#54619) 2023-07-07 17:31:46 +02:00
pathexistence ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
precise uploads: Simplify code for streaming indexes (#54567) 2023-07-24 05:51:32 +00:00
tools ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
upload codeintel: allow configuring max concurrency in uploads (#56117) 2023-08-28 21:56:00 +01:00
CODENOTIFY codeintel: Move semantic/repl to tools/lsif-repl (#20971) 2021-05-14 08:55:29 -05:00