async populate caches

This commit is contained in:
CJ Cobb
2021-04-30 20:15:38 +00:00
parent 971437f456
commit 64d0c5d050
6 changed files with 119 additions and 96 deletions

View File

@@ -362,7 +362,7 @@ PostgresBackend::fetchLedgerPage(
results.push_back({keys[i], objs[i]});
}
}
if (keys[0].isZero())
if (!cursor && !keys[0].isZero())
return {results, returnCursor, "Data may be incomplete"};
return {results, returnCursor};
}