Big speed-up in magneticow when clicking through to file list.
This commit is contained in:
parent
ae3de526ec
commit
4e49b11f1d
@ -57,6 +57,7 @@ class Database:
|
|||||||
"size INTEGER NOT NULL,"
|
"size INTEGER NOT NULL,"
|
||||||
"path TEXT NOT NULL"
|
"path TEXT NOT NULL"
|
||||||
");")
|
");")
|
||||||
|
db_conn.execute("CREATE INDEX IF NOT EXISTS file_info_hash_index on files (torrent_id);")
|
||||||
|
|
||||||
return db_conn
|
return db_conn
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user