Skip to content

chore(ml): increase spool threshold - #5176

Merged
alextran1502 merged 1 commit into
mainfrom
chore/ml-increase-spool-threshold
Nov 20, 2023
Merged

alextran1502 merged 1 commit into
mainfrom
chore/ml-increase-spool-threshold

Conversation

@mertalev

Copy link
Copy Markdown
Member

Description

This change intends to fix #5102 by setting the minimum threshold for spooling to 64MiB. The 16MiB limit was meant to be a high enough number that it shouldn't ever come up, but later thumbnail quality options make it feasible to reach this limit. The cause behind #5102 seems to be that Starlette isn't cleaning up spooled files, so further investigation should be done after this PR to understand why.

@mertalev
mertalev force-pushed the chore/ml-increase-spool-threshold branch from 8d0e5a1 to c6d3e1e Compare November 20, 2023 04:30
@alextran1502
alextran1502 merged commit ddf04a7 into main Nov 20, 2023
@alextran1502
alextran1502 deleted the chore/ml-increase-spool-threshold branch November 20, 2023 15:05
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.

[BUG] immich_machine_learning uses excessive amount of space

2 participants