Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(753)

Unified Diff: appengine/config_service/storage.py

Issue 2979593002: config_service: set memcache timeout (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/config_service/storage.py
diff --git a/appengine/config_service/storage.py b/appengine/config_service/storage.py
index da4fda568adcfa4b7bf91b20cb22b4b7353495c1..1a8ea425b4a20151bf177ddf5329929f20d1509f 100644
--- a/appengine/config_service/storage.py
+++ b/appengine/config_service/storage.py
@@ -270,7 +270,7 @@ def get_self_config_async(path, message_factory):
cs = get_self_config_set()
messages = yield get_latest_messages_async([cs], path, message_factory)
msg = messages[cs]
- yield ctx.memcache_set(cache_key, msg.SerializeToString())
+ yield ctx.memcache_set(cache_key, msg.SerializeToString(), time=60)
raise ndb.Return(msg)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698