unrhodecode/rhodecode/model
Marcin Kuzminski c218e2a9ea 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.
2018-08-03 14:34:33 +02:00
..
validation_schema validation: remove unused raised statement 2018-07-19 12:46:53 +02:00
__init__.py release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
auth_token.py release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
changeset_status.py release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
comment.py audit-logs: store properly IP and user for certain comments types. 2018-04-26 00:59:07 +02:00
db.py caches: use .refresh() instead of .invalidate() 2018-08-03 14:34:33 +02:00
forms.py pull-requests: make the renderer stored and saved for each pull requests. 2018-07-17 14:45:29 +02:00
gist.py gists: fix problem of deleted gists repositories. 2018-06-25 18:09:40 +02:00
integration.py events: cleanup code, pep8, better logging. 2018-07-31 12:13:04 +02:00
meta.py caches: use dogpile for sql_cache_short region. 2018-07-12 17:20:03 +02:00
notification.py release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
permission.py release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
pull_request.py pull-requests: make the renderer stored and saved for each pull requests. 2018-07-17 14:45:29 +02:00
repo.py caches: removed unused cache option from repo by id fetch. 2018-07-13 19:28:31 +02:00
repo_group.py tests: added tests for permission update views to catch obvious form errors. 2018-07-02 12:20:44 +02:00
repo_permission.py release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
scm.py caches: new cache context managers. 2018-08-02 18:04:52 +02:00
settings.py caches: use process aware settings cache with proper invalidation. 2018-08-02 22:15:16 +02:00
ssh_key.py release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
update.py release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
user.py logs: fix leaking of tokens to logging. Fixes #5452 2018-03-22 17:51:42 +01:00
user_group.py tests: added tests for permission update views to catch obvious form errors. 2018-07-02 12:20:44 +02:00
validators.py tests: added tests for permission update views to catch obvious form errors. 2018-07-02 12:20:44 +02:00