Skip to content

Commit

Permalink
Temporarily disable 2FA stats (#11699)
Browse files Browse the repository at this point in the history
  • Loading branch information
di authored Jun 27, 2022
1 parent 24ee1b5 commit a7bfae6
Showing 1 changed file with 2 additions and 3 deletions.
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

0 comments on commit a7bfae6

Please sign in to comment.