Update diskcache 5.6.3 (323787f) → 5.6.3 (ebfa37c).

This commit is contained in:
JackDandy 2024-06-07 15:56:56 +01:00
parent 3286e4d323
commit 4abcb950a0
2 changed files with 6 additions and 2 deletions

View file

@ -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)

View file

@ -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):