[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r22043: {torflow} Disable saving sqlite files. They take up too much space. (torflow/branches/stable/NetworkScanners/BwAuthority)
Author: mikeperry
Date: 2010-03-24 09:45:04 +0000 (Wed, 24 Mar 2010)
New Revision: 22043
Modified:
torflow/branches/stable/NetworkScanners/BwAuthority/bwauthority.py
Log:
Disable saving sqlite files. They take up too much space.
Modified: torflow/branches/stable/NetworkScanners/BwAuthority/bwauthority.py
===================================================================
--- torflow/branches/stable/NetworkScanners/BwAuthority/bwauthority.py 2010-03-24 09:37:05 UTC (rev 22042)
+++ torflow/branches/stable/NetworkScanners/BwAuthority/bwauthority.py 2010-03-24 09:45:04 UTC (rev 22043)
@@ -436,7 +436,7 @@
# param in write_strm_bws to True
hdlr.write_strm_bws(os.getcwd()+'/'+out_dir+'/bws-'+lo+':'+hi+"-done-"+time.strftime("20%y-%m-%d-%H:%M:%S"), slice_num, stats_filter=sqlalchemy.and_(SQLSupport.RouterStats.strm_closed >= min_streams, SQLSupport.RouterStats.filt_sbw >= 0, SQLSupport.RouterStats.sbw >=0 ))
plog('DEBUG', 'Wrote stats')
- hdlr.save_sql_file(sql_file, os.getcwd()+"/"+out_dir+"/bw-db-"+str(lo)+":"+str(hi)+"-"+time.strftime("20%y-%m-%d-%H:%M:%S")+".sqlite")
+ #hdlr.save_sql_file(sql_file, os.getcwd()+"/"+out_dir+"/bw-db-"+str(lo)+":"+str(hi)+"-"+time.strftime("20%y-%m-%d-%H:%M:%S")+".sqlite")
def main(argv):
TorUtil.read_config(argv[1])