Skip to content

Commit

Permalink
use celery for dedupe
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay committed Apr 14, 2011
1 parent f48dde5 commit 743f410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/amo/management/commands/dedupe_approvals.py
Expand Up @@ -11,4 +11,4 @@ class Command(BaseCommand):
def handle(self, *args, **options):
pks = Addon.objects.values_list('pk', flat=True).order_by('id')
for chunk in chunked(pks, 100):
dedupe_approvals(chunk)
dedupe_approvals.delay(chunk)

0 comments on commit 743f410

Please sign in to comment.