Author: poeml Date: Wed Mar 24 10:06:43 2010 New Revision: 8010 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8010&view=rev Log: mirrorprobe: in case of exceptions we run into, allow logging the mirror identifier by adding it to the thread names Modified: trunk/mirrorprobe/mirrorprobe.py Modified: trunk/mirrorprobe/mirrorprobe.py URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mirrorprobe/mirrorprobe.py?rev=8010&r1=8009&r2=8010&view=diff ============================================================================== --- trunk/mirrorprobe/mirrorprobe.py (original) +++ trunk/mirrorprobe/mirrorprobe.py Wed Mar 24 10:06:43 2010 @@ -267,7 +267,7 @@ t = threading.Thread(target=probe_http, args=[mirrors[i]], - name="probeThread-%s" % mirror.id) + name="probeThread-%s (%s)" % (mirror.id, mirror.identifier)) # thread will keep the program from terminating. t.setDaemon(0) t.start() _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Wed Mar 24 2010 - 09:06:48 GMT
This archive was generated by hypermail 2.2.0 : Wed Mar 24 2010 - 09:17:11 GMT