Skip to content

refer to https://github.com/jazzband/django-model-utils/blob/master/…#39

Open
tomli1981 wants to merge 1 commit into
grantmcconnaughey:masterfrom
tomli1981:master
Open

refer to https://github.com/jazzband/django-model-utils/blob/master/…#39
tomli1981 wants to merge 1 commit into
grantmcconnaughey:masterfrom
tomli1981:master

Conversation

@tomli1981

Copy link
Copy Markdown

…model_utils/tracker.py

FieldFile subclass with the only aim to remove the instance from the state.
The change introduced in Django 3.1 on FieldFile subclasses results in pickling the
whole instance for every field tracked.
As this is done on the initialization of objects, a simple queryset evaluation on
Django 3.1+ can make the app unusable, as CPU and memory usage gets easily
multiplied by magnitudes.

…model_utils/tracker.py

    FieldFile subclass with the only aim to remove the instance from the state.
    The change introduced in Django 3.1 on FieldFile subclasses results in pickling the
    whole instance for every field tracked.
    As this is done on the initialization of objects, a simple queryset evaluation on
    Django 3.1+ can make the app unusable, as CPU and memory usage gets easily
    multiplied by magnitudes.
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.

1 participant