Skip to content

Commit

Permalink
BigtableUploadService: increment start_slot to prevent rechecks (sola…
Browse files Browse the repository at this point in the history
…na-labs#33870)

Increment start_slot
  • Loading branch information
CriesofCarrots authored Oct 26, 2023
1 parent a799a90 commit 22503f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/src/bigtable_upload_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl BigTableUploadService {
));

match result {
Ok(last_slot_uploaded) => start_slot = last_slot_uploaded,
Ok(last_slot_uploaded) => start_slot = last_slot_uploaded.saturating_add(1),
Err(err) => {
warn!("bigtable: upload_confirmed_blocks: {}", err);
std::thread::sleep(std::time::Duration::from_secs(2));
Expand Down

0 comments on commit 22503f0

Please sign in to comment.