Skip to content

Tweak diskcache limits#15299

Merged
AUTOMATIC1111 merged 1 commit intodevfrom
diskcache-bett
Mar 17, 2024
Merged

Tweak diskcache limits#15299
AUTOMATIC1111 merged 1 commit intodevfrom
diskcache-bett

Conversation

@akx
Copy link
Copy Markdown
Collaborator

@akx akx commented Mar 17, 2024

Description

By default, Diskcache has a limit of 1 GB (after which it starts discarding oldest objects (by default)), bump that up to 4 GB. Could make it unlimited with a larger number.
Also, probably okay to keep objects up to 256 KB in the Sqlite database.

Nb: I couldn't test this locally right now, and I just missed adding these as a review comment in #15287, sorry.

Checklist:

@akx akx requested a review from AUTOMATIC1111 as a code owner March 17, 2024 20:27
@AUTOMATIC1111 AUTOMATIC1111 merged commit 8ac4a20 into dev Mar 17, 2024
@AUTOMATIC1111 AUTOMATIC1111 deleted the diskcache-bett branch March 17, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants