[tor-commits] r24832: {check} comment out RawExitListURL because it isnt used and confuses (check/trunk/cgi-bin)
Andrew Lewman
andrew at torproject.org
Thu Jun 23 02:31:33 UTC 2011
Author: phobos
Date: 2011-06-23 02:31:32 +0000 (Thu, 23 Jun 2011)
New Revision: 24832
Modified:
check/trunk/cgi-bin/TorBulkExitList.py
Log:
comment out RawExitListURL because it isnt used and confuses me, change
to an actual tmpfs.
Modified: check/trunk/cgi-bin/TorBulkExitList.py
===================================================================
--- check/trunk/cgi-bin/TorBulkExitList.py 2011-06-23 02:30:21 UTC (rev 24831)
+++ check/trunk/cgi-bin/TorBulkExitList.py 2011-06-23 02:31:32 UTC (rev 24832)
@@ -69,7 +69,7 @@
# Someday, do a real http get request here
# read into buffer, return buffer RawExitList with contents.
# follow instructions from http://docs.python.org/lib/module-urllib.html
- RawExitListURL = "http://exitlist.torproject.org/exitAddresses"
+ # RawExitListURL = "http://exitlist.torproject.org/exitAddresses"
# Currently fake this and return a static file:
RawExitList = '/srv/check.torproject.org/tordnsel/state/exit-addresses'
@@ -84,8 +84,8 @@
"""
maxListAge = 1600
- parsedListDirPath = "/tmp/TorBulkCheck/"
- parsedExitList = "/tmp/TorBulkCheck/parsed-exit-list"
+ parsedListDirPath = "/dev/shm/TorBulkCheck/"
+ parsedExitList = "/dev/shm/TorBulkCheck/parsed-exit-list"
try:
parsedListDir = os.stat(parsedListDirPath)
More information about the tor-commits
mailing list