We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db62cf0 commit b48e29bCopy full SHA for b48e29b
tools/heartbeats-processor/src/remote_db.rs
@@ -203,7 +203,10 @@ pub async fn fetch_heartbeat_chunk(
203
204
q.for_all(conditions)
205
})
206
- .order_by([("createTime", FirestoreQueryDirection::Ascending)])
+ .order_by([
207
+ ("createTime", FirestoreQueryDirection::Ascending),
208
+ ("__name__", FirestoreQueryDirection::Ascending),
209
+ ])
210
.limit(FIRESTORE_BATCH_SIZE);
211
212
let mut batch: Vec<HeartbeatEntry> = query.obj().query().await?;
0 commit comments