Skip to content

Commit 787262f

Browse files
committed
VACUUM sqlite db to make pkg "more" deterministic
https://trac.torproject.org/projects/tor/ticket/11630
1 parent 94d8be6 commit 787262f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/make-sqlite.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,5 @@ def nomes_all(where=sys.argv[1:]):
6868
c.execute('''INSERT INTO targets (host, ruleset_id) VALUES(?, ?)''', (target, ruleset_id));
6969

7070
conn.commit()
71+
conn.execute("VACUUM")
7172
conn.close()

0 commit comments

Comments
 (0)