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

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

Issue 63203002: Docserver: Make the hand-written Cron methods run first rather than last, since (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jeffrey Created 7 years, 1 month 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/content_provider.py
diff --git a/chrome/common/extensions/docs/server2/content_provider.py b/chrome/common/extensions/docs/server2/content_provider.py
index 11ec8f28ebfb682175717175d119b1adb60cada5..cf2ce015db7a74655fd08e3dc865aa3574c9a341 100644
--- a/chrome/common/extensions/docs/server2/content_provider.py
+++ b/chrome/common/extensions/docs/server2/content_provider.py
@@ -85,5 +85,7 @@ class ContentProvider(object):
def Cron(self):
# Running Refresh() on the file system is enough to pull GitHub content,
- # which is all we need for now.
- self.file_system.Refresh().Get()
+ # which is all we need for now while the full render-every-page cron step
+ # is in effect.
+ # TODO(kalman): Walk over the whole filesystem and compile the content.
+ return self.file_system.Refresh()
« no previous file with comments | « chrome/common/extensions/docs/server2/app.yaml ('k') | chrome/common/extensions/docs/server2/content_providers.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698