[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [guardfraction/master] Always delete expired consensuses from the database.
commit 31350734b8d457099d4dc8f082a8f0e8fb8732a6
Author: George Kadianakis <desnacked@xxxxxxxxxx>
Date: Tue Jul 28 16:13:52 2015 +0300
Always delete expired consensuses from the database.
Patch by weasel.
---
guardfraction_cron.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guardfraction_cron.sh b/guardfraction_cron.sh
index 8ca1d78..a869930 100755
--- a/guardfraction_cron.sh
+++ b/guardfraction_cron.sh
@@ -91,7 +91,7 @@ fi
[ "$VERBOSE" -gt 0 ] && echo "[*] Imported!"
# Calculate guardfraction
-if ! python guardfraction.py --db-file="$STATE_DIR/guardfraction.db" --output="$GUARDFRACTION_OUTPUT_FILE" "$DAYS_WORTH"
+if ! python guardfraction.py --delete-expired --db-file="$STATE_DIR/guardfraction.db" --output="$GUARDFRACTION_OUTPUT_FILE" "$DAYS_WORTH"
then
echo >&2 "Failed during guardfraction calculation."
exit 1
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits