[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r22042: {torflow} Disable saving sqlite files. They take up too much space. (torflow/trunk/NetworkScanners/BwAuthority)
Author: mikeperry
Date: 2010-03-24 09:37:05 +0000 (Wed, 24 Mar 2010)
New Revision: 22042
Modified:
torflow/trunk/NetworkScanners/BwAuthority/bwauthority.py
Log:
Disable saving sqlite files. They take up too much space.
Modified: torflow/trunk/NetworkScanners/BwAuthority/bwauthority.py
===================================================================
--- torflow/trunk/NetworkScanners/BwAuthority/bwauthority.py 2010-03-23 21:16:22 UTC (rev 22041)
+++ torflow/trunk/NetworkScanners/BwAuthority/bwauthority.py 2010-03-24 09:37:05 UTC (rev 22042)
@@ -254,7 +254,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])