##// END OF EJS Templates
caches: use .refresh() instead of .invalidate()...
caches: use .refresh() instead of .invalidate() - .invalidate() does a delete of cached valued under a key, which means in previous logic we delete, get_or_create, and compute. - .refresh() is simply replacing exising key with newly computed values, this creates less locks, and it's faster.
marcink -
r2939:913f92bf default
Show More
Name Size Modified Last Commit Author
/ rhodecode / model
validation_schema
__init__.py Loading ...
auth_token.py Loading ...
changeset_status.py Loading ...
comment.py Loading ...
db.py Loading ...
forms.py Loading ...
gist.py Loading ...
integration.py Loading ...
meta.py Loading ...
notification.py Loading ...
permission.py Loading ...
pull_request.py Loading ...
repo.py Loading ...
repo_group.py Loading ...
repo_permission.py Loading ...
scm.py Loading ...
settings.py Loading ...
ssh_key.py Loading ...
update.py Loading ...
user.py Loading ...
user_group.py Loading ...
validators.py Loading ...