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

[tor-commits] [torflow/master] Switch to memory-only sqlalchemy by default.



commit 24927645f5b9fb94ebf92b3294900e64b5e83de2
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
Date:   Tue Nov 15 18:43:20 2011 -0800

    Switch to memory-only sqlalchemy by default.
---
 NetworkScanners/BwAuthority/bwauthority_child.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/NetworkScanners/BwAuthority/bwauthority_child.py b/NetworkScanners/BwAuthority/bwauthority_child.py
index 65063a9..64a5ca7 100755
--- a/NetworkScanners/BwAuthority/bwauthority_child.py
+++ b/NetworkScanners/BwAuthority/bwauthority_child.py
@@ -47,7 +47,7 @@ user_agent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.37
 # Note these urls should be https due to caching considerations.
 # If you really must make them http, be sure to change exit_ports to [80]
 # below, or else the scan will not finish.
-urls =         ["https://38.229.70.2/";] #, "https://38.229.70.19/";]
+urls =         ["https://38.229.70.2/"]#, "https://38.229.72.16/";]
 
 
 # Do NOT modify this object directly after it is handed to PathBuilder
@@ -309,8 +309,9 @@ def main(argv):
     else:
       plog("INFO", "db_url not found in config. Defaulting to sqlite")
       sql_file = os.getcwd()+'/'+out_dir+'/bwauthority.sqlite'
-      hdlr.attach_sql_listener('sqlite:///'+sql_file)
-    
+      #hdlr.attach_sql_listener('sqlite:///'+sql_file)
+      hdlr.attach_sql_listener('sqlite://')
+
     # set SOCKS proxy
     socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, TorUtil.tor_host, TorUtil.tor_port)
     socket.socket = socks.socksocket



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits