mirror of
https://github.com/google/nomulus
synced 2026-01-08 15:21:46 +00:00
Make Registry.get(tld) hit memcache explicitly.
TESTED=The test fails if you change line 134 in Ofy to not use memcache
and use the unchanged original Registry.get() code. This is the
expected behavior.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=154226534
This commit is contained in:
@@ -250,7 +250,7 @@ public class Registry extends ImmutableObject implements Buildable {
|
||||
@Override
|
||||
public Registry run() {
|
||||
return ofy()
|
||||
.load()
|
||||
.loadWithMemcache()
|
||||
.key(Key.create(getCrossTldKey(), Registry.class, tld))
|
||||
.now();
|
||||
}}));
|
||||
|
||||
Reference in New Issue
Block a user