[tor-commits] [support-tools/master] fix path to psql database

anarcat at torproject.org anarcat at torproject.org
Tue Sep 15 15:06:33 UTC 2020


commit 412004f41327a87c9cc4b535407b147532401567
Author: Antoine Beaupré <anarcat at debian.org>
Date:   Tue Sep 15 11:01:40 2020 -0400

    fix path to psql database
    
    drobovi is long gone, and the DB is on the same host now.
---
 train-spam-filters/train_spam_filters | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/train-spam-filters/train_spam_filters b/train-spam-filters/train_spam_filters
index b2f89fe..dc1f108 100755
--- a/train-spam-filters/train_spam_filters
+++ b/train-spam-filters/train_spam_filters
@@ -22,7 +22,7 @@ HAM_MAILDIR = '.xham.learn'
 
 KEEP_FOR_MAX_DAYS = 100
 
-RT_CONNINFO = "host=drobovi.torproject.org sslmode=require user=rtreader dbname=rt"
+RT_CONNINFO = "host=localhost sslmode=require user=rtreader dbname=rt"
 
 SELECT_HAM_TICKET_QUERY = """
     SELECT DISTINCT Tickets.Id



More information about the tor-commits mailing list