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

Fixed #22867 Pickling models is slow in alpha versions #2829

Closed
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
3 participants
@Suor
Copy link
Contributor

Suor commented Jun 19, 2014

No description provided.

Memoize django.utils.version.get_version()
To not create a git subprocess on each version check in alpha djangos.


@lru_cache(maxsize=None)

This comment has been minimized.

@loic

loic Jun 19, 2014

Member

How about @lru_cache on get_git_changeset() instead? I'm not a huge fan of @lru_cache with maxsize=None in general.

@Suor

This comment has been minimized.

Copy link
Contributor Author

Suor commented Jun 19, 2014

Moved @lru_cache() to get_git_changeset()

@timgraham

This comment has been minimized.

Copy link
Member

timgraham commented Jun 19, 2014

merged in 80f4487, thanks.

@timgraham timgraham closed this Jun 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.