Skip to content
Browse files

Raise API limit for versions.

  • Loading branch information...
1 parent 7ce6482 commit 8569d554372c2af6f1bddccd05473cbade7da28d @ericholscher ericholscher committed Oct 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 readthedocs/projects/tasks.py
View
4 readthedocs/projects/tasks.py
@@ -318,7 +318,7 @@ def update_imported_docs(version_pk):
# check tags/version
#XXX:dc: what in this block raises the values error?
try:
- old_versions = [obj['identifier'] for obj in api.version.get(project__slug=project.slug, limit=500)['objects']]
+ old_versions = [obj['identifier'] for obj in api.version.get(project__slug=project.slug, limit=5000)['objects']]
if version_repo.supports_tags:
transaction.enter_transaction_management(True)
tags = version_repo.tags
@@ -455,7 +455,7 @@ def fileify(version):
name=filename)
-#@periodic_task(run_every=crontab(hour="*", minute="*", day_of_week="*"))
+#@periodic_task(run_every=crontab(hour="*", minute="*/5", day_of_week="*"))
def update_docs_pull(record=False, pdf=False, man=False, force=False):
"""
A high-level interface that will update all of the projects.

0 comments on commit 8569d55

Please sign in to comment.
Something went wrong with that request. Please try again.