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.
1 parent 94d0e6c commit 9eb0868Copy full SHA for 9eb0868
readthedocs/oauth/tasks.py
@@ -73,7 +73,12 @@ def sync_remote_repositories(user_id, skip_githubapp=False):
73
)
74
75
76
-@app.task(queue="web")
+@app.task(
77
+ queue="web",
78
+ # This is a long running task, since it syncs all repositories one by one.
79
+ time_limit=60 * 60 * 3, # 3h
80
+ soft_time_limit=(60 * 60 * 3) - 5 * 60, # 2h 55m
81
+)
82
def sync_remote_repositories_from_sso_organizations():
83
"""
84
Re-sync all remote repositories from organizations with SSO enabled.
0 commit comments