Skip to content

Commit 83106d1

Browse files
committed
cli: Let Python pick number of signing threads
This number does affect the number of concurrent rekor POST requests we have in flight, but we are unlikely to hit rate limits as they are defined in "requests from same host per minute". Signed-off-by: Jussi Kukkonen <[email protected]>
1 parent 7a9e1e5 commit 83106d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sigstore/_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ def _sign_common(
728728

729729
# sign in threads: this is relevant for especially Rekor v2 as otherwise we wait
730730
# for log inclusion for each signature separately
731-
with futures.ThreadPoolExecutor(max_workers=10) as executor:
731+
with futures.ThreadPoolExecutor() as executor:
732732
jobs = [
733733
executor.submit(
734734
_sign_file_threaded,

0 commit comments

Comments
 (0)