Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporarily disable 2FA stats #11699

Merged
merged 1 commit into from
Jun 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions warehouse/packaging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
from warehouse.manage.tasks import update_role_invitation_status
from warehouse.packaging.interfaces import IDocsStorage, IFileStorage, ISimpleStorage
from warehouse.packaging.models import File, Project, Release, Role
from warehouse.packaging.tasks import ( # sync_bigquery_release_files,
from warehouse.packaging.tasks import (
compute_2fa_mandate,
compute_2fa_metrics,
compute_trending,
update_description_html,
)
Expand Down Expand Up @@ -108,7 +107,7 @@ def includeme(config):
config.add_periodic_task(crontab(minute=0, hour=3), compute_2fa_mandate)

# Add a periodic task to generate 2FA metrics
config.add_periodic_task(crontab(minute="*/5"), compute_2fa_metrics)
# config.add_periodic_task(crontab(minute="*/5"), compute_2fa_metrics)

# Add a periodic task to compute trending once a day, assuming we have
# been configured to be able to access BigQuery.
Expand Down