File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
nexus/db-queries/src/db/datastore Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1213,7 +1213,10 @@ impl DataStore {
1213
1213
{
1214
1214
use nexus_db_schema:: schema:: bp_pending_mgs_update_sp:: dsl;
1215
1215
1216
- let mut paginator = Paginator :: new ( SQL_BATCH_SIZE ) ;
1216
+ let mut paginator = Paginator :: new (
1217
+ SQL_BATCH_SIZE ,
1218
+ dropshot:: PaginationOrder :: Ascending ,
1219
+ ) ;
1217
1220
while let Some ( p) = paginator. next ( ) {
1218
1221
let batch = paginated (
1219
1222
dsl:: bp_pending_mgs_update_sp,
@@ -1244,7 +1247,10 @@ impl DataStore {
1244
1247
1245
1248
let mut bbs = BTreeMap :: new ( ) ;
1246
1249
1247
- let mut paginator = Paginator :: new ( SQL_BATCH_SIZE ) ;
1250
+ let mut paginator = Paginator :: new (
1251
+ SQL_BATCH_SIZE ,
1252
+ dropshot:: PaginationOrder :: Ascending ,
1253
+ ) ;
1248
1254
while let Some ( p) = paginator. next ( ) {
1249
1255
let batch = paginated (
1250
1256
dsl:: hw_baseboard_id,
You can’t perform that action at this time.
0 commit comments