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

Unified Diff: chrome/common/extensions/docs/server2/patched_file_system.py

Issue 660383002: Docserver: Persist stat cache for versioned file systems (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change caching strategy, better refresh cycle synchronization Created 6 years, 2 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
Index: chrome/common/extensions/docs/server2/patched_file_system.py
diff --git a/chrome/common/extensions/docs/server2/patched_file_system.py b/chrome/common/extensions/docs/server2/patched_file_system.py
index 52ad0bda118b861bd6902e2a6cf4fb8b0ec079d2..d29596cbfd6d8da1e06b2231c2d9b8794d1d0077 100644
--- a/chrome/common/extensions/docs/server2/patched_file_system.py
+++ b/chrome/common/extensions/docs/server2/patched_file_system.py
@@ -150,7 +150,7 @@ class PatchedFileSystem(FileSystem):
raise FileNotFoundError('%s was not in child versions' % filename)
return stat_info
- def GetIdentity(self):
+ def GetStableIdentity(self):
return '%s(%s,%s)' % (self.__class__.__name__,
- self._base_file_system.GetIdentity(),
+ self._base_file_system.GetStableIdentity(),
self._patcher.GetIdentity())

Powered by Google App Engine
This is Rietveld 408576698