Skip to content

Commit 264d706

Browse files
ericholscherstsewd
authored andcommitted
Stop running sync_active_users_remote_repositories (#12402)
1 parent 9c7b03a commit 264d706

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

readthedocs/settings/base.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -694,11 +694,14 @@ def BUILD_MEMORY_LIMIT(self):
694694
"schedule": crontab(minute="*/30", hour="*"),
695695
"options": {"queue": "web"},
696696
},
697-
"every-day-resync-remote-repositories": {
698-
"task": "readthedocs.oauth.tasks.sync_active_users_remote_repositories",
699-
"schedule": crontab(minute=30, hour=2),
700-
"options": {"queue": "web"},
701-
},
697+
# Stop running this task,
698+
# it was rerunning multiple times per day,
699+
# and causing celery instances to freeze up.
700+
# "every-day-resync-remote-repositories": {
701+
# "task": "readthedocs.oauth.tasks.sync_active_users_remote_repositories",
702+
# "schedule": crontab(minute=30, hour=2),
703+
# "options": {"queue": "web"},
704+
# },
702705
"every-day-email-pending-custom-domains": {
703706
"task": "readthedocs.domains.tasks.email_pending_custom_domains",
704707
"schedule": crontab(minute=0, hour=3),

0 commit comments

Comments
 (0)