Closed KnownBlackHat closed 1 year ago
Can't we make the cache how much user's actually want?
_raw_limit = os.getenv("EASY_PIL_CACHE_LIMIT") cache_limit = int(_raw_limit) if _raw_limit else 32
so users can set their own cache limit by defining that environment variable
it will be better if it will be parameterized as there are many use case of PIL things and defining env vars will get quite complex and tricky for users
This codebase was full of bugs. ig i reduced almost all bugs but some still exists