Skip to content

Instantly share code, notes, and snippets.

@guillermo-menjivar
Created January 16, 2018 07:11
Show Gist options
  • Save guillermo-menjivar/e7584261959d93a4b0f867b351ad2501 to your computer and use it in GitHub Desktop.
Save guillermo-menjivar/e7584261959d93a4b0f867b351ad2501 to your computer and use it in GitHub Desktop.
update commit
125 if len(ips_to_update) > 0:
126
127 while len(uuids_to_update) > 0:
128 print 'updating', len(uuids_to_update[:1000])
129 update_records(analytic['id'], uuids_to_update[:1000])
130 del uuids_to_update[:1000]
131 tag_conn.commit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment