Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
BigtableUploadService: increment start_slot to prevent rechecks (#33870)
Browse files Browse the repository at this point in the history
Increment start_slot

(cherry picked from commit 22503f0)
  • Loading branch information
Tyera authored and mergify[bot] committed Oct 26, 2023
1 parent 84d5fff commit e3a5846
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 e3a5846

Please sign in to comment.