Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 66203ad

Browse files
committed
fix typos
1 parent 31973f2 commit 66203ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bottomless/src/replicator.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ impl Replicator {
629629

630630
let key = format!("{}-{}/db.gz", self.db_name, self.generation);
631631

632-
// Unfortunally we can send the gzip output in a single call without buffering
632+
// Unfortunally we can't send the gzip output in a single call without buffering
633633
// the whole snapshot in memory because S3 requires the `Content-Length` header
634634
// to be set.
635635
let upload_id = self
@@ -660,7 +660,7 @@ impl Replicator {
660660
// See: https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html
661661
for part in 0..LAST_PART - 1 {
662662
// Progressively increase the chunk size every 16 chunks up to the last
663-
// chunk_size. This allows smaller allocate for small databases.
663+
// chunk_size. This allows smaller allocations for small databases.
664664
//
665665
// Here's a table of how much data we can chunk:
666666
// ┌────────────┬──────────────────┬───────────────────────┬──────────────────┐

0 commit comments

Comments
 (0)