mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-22 18:53:38 +00:00
Merge branch 'feature/UpdateDiskcache' into dev
This commit is contained in:
commit
75b864c94e
2 changed files with 6 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
|||
* Update CacheControl 0.13.1 (783a338) to 0.14.0 (e2be0c2)
|
||||
* Update certifi 2024.02.02 to 2024.06.02
|
||||
* Update dateutil 2.8.2 (296d419) to 2.9.0.post0 (0353b78)
|
||||
* Update diskcache 5.6.3 (323787f) to 5.6.3 (ebfa37c)
|
||||
* Update feedparser 6.0.10 (9865dec) to 6.0.11 (efcb89b)
|
||||
* Update filelock 3.12.4 (c1163ae) to 3.14.0 (8556141)
|
||||
* Update idna library 3.4 (cab054c) to 3.7 (1d365e1)
|
||||
|
|
|
@ -532,7 +532,7 @@ class Cache:
|
|||
|
||||
sql(
|
||||
'CREATE INDEX IF NOT EXISTS Cache_expire_time ON'
|
||||
' Cache (expire_time)'
|
||||
' Cache (expire_time) WHERE expire_time IS NOT NULL'
|
||||
)
|
||||
|
||||
query = EVICTION_POLICY[self.eviction_policy]['init']
|
||||
|
@ -2030,7 +2030,10 @@ class Cache:
|
|||
|
||||
"""
|
||||
sql = self._sql
|
||||
sql('CREATE INDEX IF NOT EXISTS Cache_tag_rowid ON Cache(tag, rowid)')
|
||||
sql(
|
||||
'CREATE INDEX IF NOT EXISTS Cache_tag_rowid ON Cache(tag, rowid) '
|
||||
'WHERE tag IS NOT NULL'
|
||||
)
|
||||
self.reset('tag_index', 1)
|
||||
|
||||
def drop_tag_index(self):
|
||||
|
|
Loading…
Reference in a new issue