mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 08:57:12 +02: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:
parent
9e61f1d6ef
commit
4eba2ea07a
2 changed files with 17 additions and 1 deletions
|
@ -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();
|
||||
}}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue