Skip to content

Commit d5b96d9

Browse files
committed
add todo comment
1 parent f2a149f commit d5b96d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

firebase-firestore/src/main/java/com/google/firebase/firestore/local/SQLiteRemoteDocumentCache.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ public Map<DocumentKey, MutableDocument> getAll(Iterable<DocumentKey> documentKe
177177
}
178178
backgroundQueue.drain();
179179

180+
// TODO(dconeybe): schedule the backfill asynchronously.
180181
documentTypeBackfills.backfill(db);
181182

182183
// Synchronize on `results` to avoid a data race with the background queue.
@@ -277,6 +278,7 @@ private Map<DocumentKey, MutableDocument> getAll(
277278
});
278279
backgroundQueue.drain();
279280

281+
// TODO(dconeybe): schedule the backfill asynchronously.
280282
documentTypeBackfills.backfill(db);
281283

282284
// Synchronize on `results` to avoid a data race with the background queue.

0 commit comments

Comments
 (0)