Skip to content

Commit 4cecedb

Browse files
jyn514Joshua Nelson
authored and
Joshua Nelson
committed
Limit maximum uploads to a reasonable number
Partially addresses #658
1 parent 5654923 commit 4cecedb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db/file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use rusoto_core::region::Region;
1818
use rusoto_credential::DefaultCredentialsProvider;
1919
use std::ffi::OsStr;
2020

21-
const MAX_CONCURRENT_UPLOADS: usize = 1000;
21+
const MAX_CONCURRENT_UPLOADS: usize = 50;
2222

2323
pub(super) static S3_BUCKET_NAME: &str = "rust-docs-rs";
2424

0 commit comments

Comments
 (0)