File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -29,5 +29,9 @@ ENV PATH=/root/.cargo/bin:$PATH
29
29
COPY --from=mc /usr/bin/mc /usr/local/bin/mc
30
30
RUN chmod 0755 /usr/local/bin/mc
31
31
32
+ # The default is 20 but slightly bumping it here. Mostly to test that this
33
+ # command works. In production we set a much higher value (150).
34
+ RUN aws configure set default.s3.max_concurrent_requests 25
35
+
32
36
ENTRYPOINT ["/src/local/setup.sh" ]
33
37
CMD ["/src/local/idle.sh" ]
Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ RUN curl https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustu
56
56
/root/.cargo/bin/rustup toolchain remove stable
57
57
ENV PATH=/root/.cargo/bin:$PATH
58
58
59
+ # Roughly 2x number of CPU cores we have in production.
60
+ RUN aws configure set default.s3.max_concurrent_requests 150
61
+
59
62
COPY --from=build /tmp/source/target/release/promote-release /usr/local/bin/
60
63
COPY prod/load-gpg-keys.sh /usr/local/bin/load-gpg-keys
61
64
You can’t perform that action at this time.
0 commit comments