[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r19991: {torflow} Use new urls, enable sleeping, and turn down GC debugging ve (torflow/trunk/NetworkScanners/BwAuthority)



Author: mikeperry
Date: 2009-07-13 22:27:22 -0400 (Mon, 13 Jul 2009)
New Revision: 19991

Modified:
   torflow/trunk/NetworkScanners/BwAuthority/bwauthority.py
Log:

Use new urls, enable sleeping, and turn down GC debugging
verbosity.



Modified: torflow/trunk/NetworkScanners/BwAuthority/bwauthority.py
===================================================================
--- torflow/trunk/NetworkScanners/BwAuthority/bwauthority.py	2009-07-14 02:00:52 UTC (rev 19990)
+++ torflow/trunk/NetworkScanners/BwAuthority/bwauthority.py	2009-07-14 02:27:22 UTC (rev 19991)
@@ -42,12 +42,11 @@
 # below, or else the scan will not finish.
 # TODO: As the network balances, these can become more uniform in size
 #          cutoff percent                URL
-urls =         [(10,          "https://128.174.236.117/4096k";),
-                (20,          "https://128.174.236.117/2048k";),
-                (30,          "https://128.174.236.117/1024k";),
-                (50,          "https://128.174.236.117/512k";),
-                (75,          "https://128.174.236.117/256k";),
-                (100,         "https://128.174.236.117/128k";)]
+urls =         [(10,          "https://38.229.70.2/2M";),
+                (20,          "https://38.229.70.2/1M";),
+                (30,          "https://38.229.70.2/512k";),
+                (50,          "https://38.229.70.2/256k";),
+                (100,         "https://38.229.70.2/128k";)]
 
 
 # Do NOT modify this object directly after it is handed to PathBuilder
@@ -352,7 +351,7 @@
     t0 = time.time()
     if sleep_start <= t0 and t0 <= sleep_stop:
       plog("NOTICE", "It's bedtime. Sleeping for "+str(round((sleep_stop-t0)/3600.0,1))+"h")
-      #time.sleep(sleep_stop - t0)
+      time.sleep(sleep_stop - t0)
 
     hdlr.new_exit()
     attempt += 1
@@ -444,7 +443,7 @@
                 min_streams, sql_file)
 
       # XXX: Temporary for debugging memory leak..
-      TorUtil.dump_class_ref_counts()
+      TorUtil.dump_class_ref_counts(referrer_depth=1)
 
       # TODO: Change pathlen to 3 and kill exit+ConserveExit restrictions
       # And record circ failure rates..