##// 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.

File last commit:

r1:854a839a default
r2939:913f92bf default
Show More
__init__.py
6 lines | 279 B | text/x-python | PythonLexer
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from rhodecode.lib.dbmigrate.migrate.versioning.script.base import BaseScript
from rhodecode.lib.dbmigrate.migrate.versioning.script.py import PythonScript
from rhodecode.lib.dbmigrate.migrate.versioning.script.sql import SqlScript