Browse Source

Add a comment explaining our update scheme.

pull/165/head
Terrence Cole 8 years ago
parent
commit
e875ee7f5d
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      octodns/provider/rackspace.py

+ 3
- 0
octodns/provider/rackspace.py View File

@ -348,6 +348,9 @@ class RackspaceProvider(BaseProvider):
self.log.debug('_apply: zone=%s, len(changes)=%d', desired.name, self.log.debug('_apply: zone=%s, len(changes)=%d', desired.name,
len(changes)) len(changes))
# Creates, updates, and deletes are processed by different endpoints
# and are broken out by record-set entries; pre-process everything
# into these buckets in order to minimize the number of API calls.
domain_id = self._get_zone_id_for(desired) domain_id = self._get_zone_id_for(desired)
creates = [] creates = []
updates = [] updates = []


Loading…
Cancel
Save