mirror of
https://github.com/google/nomulus
synced 2026-01-08 23:23:32 +00:00
Add loadWithMemcache() to Ofy
Also clean up some minor uses of load() to standardize calls. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=154067731
This commit is contained in:
@@ -136,7 +136,7 @@ public final class DeleteOldCommitLogsAction implements Runnable {
|
||||
|
||||
private boolean doesEnoughDataExistThatThisTaskIsWorthRunning() {
|
||||
int tenth = Math.max(1, maxDeletes / 10);
|
||||
int count = queryManifests(ofy.loadEventuallyConsistent())
|
||||
int count = queryManifests(ofy.load())
|
||||
.limit(tenth)
|
||||
.count();
|
||||
if (0 < count && count < tenth) {
|
||||
|
||||
Reference in New Issue
Block a user