Skip to content

Instantly share code, notes, and snippets.

@leetreveil
Created January 14, 2016 21:27
Show Gist options
  • Save leetreveil/193ac2adfe7736c8ebcf to your computer and use it in GitHub Desktop.
Save leetreveil/193ac2adfe7736c8ebcf to your computer and use it in GitHub Desktop.
latency
from facebook_analytics_service.tasks import *
all_latency = [(timezone.now() - x).seconds for x in AdAccount.objects.filter(adcreative_last_crawled__isnull=False, should_crawl=True).values_list('adcreative_last_crawled', flat=True)]
max(all_latency)
@leetreveil
Copy link
Author

1661 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment