File tree 2 files changed +4
-1
lines changed
src/main/java/com/google/firebase/firestore/core 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ by opting into a release at
8
8
AppCheck users that set their expiration time to under an hour.
9
9
- [ fixed] Fixed a potential problem during Firestore's shutdown that prevented
10
10
the shutdown from proceeding if a network connection was opened right before.
11
+ - [ changed] Queries are now send to the backend before the SDK starts local
12
+ processing, which reduces overall Query latency.
11
13
12
14
# 24.0.1
13
15
- [ changed] Improved performance for databases that contain many document
Original file line number Diff line number Diff line change @@ -201,10 +201,11 @@ public int listen(Query query) {
201
201
hardAssert (!queryViewsByQuery .containsKey (query ), "We already listen to query: %s" , query );
202
202
203
203
TargetData targetData = localStore .allocateTarget (query .toTarget ());
204
+ remoteStore .listen (targetData );
205
+
204
206
ViewSnapshot viewSnapshot = initializeViewAndComputeSnapshot (query , targetData .getTargetId ());
205
207
syncEngineListener .onViewSnapshots (Collections .singletonList (viewSnapshot ));
206
208
207
- remoteStore .listen (targetData );
208
209
return targetData .getTargetId ();
209
210
}
210
211
You can’t perform that action at this time.
0 commit comments