add index for blob table so size summaries are faster
This commit is contained in:
parent
1ff914a6f4
commit
0d810d92ca
1 changed files with 1 additions and 0 deletions
|
@ -337,6 +337,7 @@ class SQLiteStorage(SQLiteMixin):
|
|||
tcp_port integer,
|
||||
unique (address, udp_port)
|
||||
);
|
||||
create index if not exists blob_data on blob(blob_hash, blob_length, is_mine);
|
||||
"""
|
||||
|
||||
def __init__(self, conf: Config, path, loop=None, time_getter: typing.Optional[typing.Callable[[], float]] = None):
|
||||
|
|
Loading…
Reference in a new issue