Skip to content

Commit

Permalink
Apply retries per page
Browse files Browse the repository at this point in the history
  • Loading branch information
vponomaryov committed Oct 28, 2024
1 parent 4330055 commit c3c10d4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,8 @@ impl Context {
continue;
}
}
if paging_state != None {
if paging_state.is_some() {
current_attempt_num = 0;
continue // get next page
}
self.stats
Expand Down Expand Up @@ -1010,7 +1011,8 @@ impl Context {
continue;
}
}
if paging_state != None {
if paging_state.is_some() {
current_attempt_num = 0;
continue // get next page
}
self.stats
Expand Down

0 comments on commit c3c10d4

Please sign in to comment.