Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak diskcache limits #15299

Merged
merged 1 commit into from
Mar 17, 2024
Merged

Tweak diskcache limits #15299

merged 1 commit into from
Mar 17, 2024

Conversation

akx
Copy link
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
6 checks passed
@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