Author: lucas Date: 2009-11-14 07:53:31 +0000 (Sat, 14 Nov 2009) New Revision: 1626
Modified: udd/udd/ubuntu_bugs_gatherer.py Log: use edge.lp.net to try to avoid slowness problem in launchpad Modified: udd/udd/ubuntu_bugs_gatherer.py =================================================================== --- udd/udd/ubuntu_bugs_gatherer.py 2009-11-14 07:52:50 UTC (rev 1625) +++ udd/udd/ubuntu_bugs_gatherer.py 2009-11-14 07:53:31 UTC (rev 1626) @@ -35,9 +35,6 @@ for b in bugs: if b == 310331: continue # this bug is buggy: two identical tasks -# if self.debug: -# if b != 310331: -# continue httpq.put(b) # start workers @@ -97,7 +94,7 @@ # "worker". Fetch a specific bug as text from launchpad. def bugfetcher(self, hq, dq): while True: - conn = httplib.HTTPSConnection('bugs.launchpad.net') + conn = httplib.HTTPSConnection('edge.launchpad.net') ok = True b = None while ok: @@ -110,7 +107,7 @@ _exit(1) try: - conn.request('GET', 'https://launchpad.net/bugs/' + str(b) + '/+text') + conn.request('GET', 'https://edge.launchpad.net/bugs/' + str(b) + '/+text') r = conn.getresponse() if r.status == 200: data = r.read() _______________________________________________ Collab-qa-commits mailing list Collab-qa-commits@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/collab-qa-commits