check to stop crawling zonefiles on each zonefile hash considered, not each batch considered

This commit is contained in:
Jude Nelson
2016-11-22 15:26:23 -05:00
parent 25100ff8cc
commit 1bfd3a4066

View File

@@ -3589,7 +3589,7 @@ class AtlasZonefileCrawler( threading.Thread ):
log.debug("%s: missing %s unique zonefiles" % (self.hostport, len(zonefile_hashes)))
while len(zonefile_hashes) > 0:
while len(zonefile_hashes) > 0 and self.running:
zfhash = zonefile_hashes[0]
zfnames = zonefile_names[zfhash]