We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06f135c + f8a6ee1 commit 07c84e4Copy full SHA for 07c84e4
readthedocs/projects/tasks.py
@@ -1104,11 +1104,14 @@ def update_app_instances(
1104
epub=epub,
1105
delete_unsynced_media=delete_unsynced_media,
1106
),
1107
- callback=sync_callback.s(
1108
- version_pk=self.version.pk,
1109
- commit=self.build['commit'],
1110
- build=self.build['id'],
1111
- ),
+ )
+
+ # All the JSON files are uploaded to storage prior to syncing
+ # so we should be fine to index the files without waiting
+ sync_callback.delay(
1112
+ version_pk=self.version.pk,
1113
+ commit=self.build['commit'],
1114
+ build=self.build['id'],
1115
)
1116
1117
def setup_python_environment(self):
0 commit comments