Commit 0a27a3f
Remove unnecessary paging_state save/restore per review
Since each QueryMessage is created fresh and only used once with
_fetch_remaining_pages, there's no need to save and restore the
original paging_state. The QueryMessage objects are not reused after
calling _fetch_remaining_pages.
Addresses @dkropachev's review feedback to verify the function isn't
called multiple times on the same query_msg and remove the unnecessary
save/restore code.
Co-authored-by: dkropachev <40304587+dkropachev@users.noreply.github.com>1 parent 2d1a49b commit 0a27a3f
1 file changed
Lines changed: 17 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3451 | 3451 | | |
3452 | 3452 | | |
3453 | 3453 | | |
3454 | | - | |
3455 | | - | |
| 3454 | + | |
| 3455 | + | |
3456 | 3456 | | |
3457 | | - | |
3458 | | - | |
3459 | | - | |
3460 | | - | |
3461 | | - | |
3462 | | - | |
3463 | | - | |
3464 | | - | |
3465 | | - | |
3466 | | - | |
3467 | | - | |
3468 | | - | |
3469 | | - | |
3470 | | - | |
3471 | | - | |
3472 | | - | |
3473 | | - | |
3474 | | - | |
3475 | | - | |
| 3457 | + | |
3476 | 3458 | | |
3477 | | - | |
3478 | | - | |
3479 | | - | |
| 3459 | + | |
| 3460 | + | |
| 3461 | + | |
| 3462 | + | |
| 3463 | + | |
| 3464 | + | |
| 3465 | + | |
| 3466 | + | |
| 3467 | + | |
| 3468 | + | |
| 3469 | + | |
| 3470 | + | |
| 3471 | + | |
| 3472 | + | |
3480 | 3473 | | |
3481 | 3474 | | |
3482 | 3475 | | |
| |||
0 commit comments