##// END OF EJS Templates
Implemented cache-map on main page to save executing select...
Implemented cache-map on main page to save executing select statements that checks if cache should be invalidated. It reduces number of executed queries from N which is number of repos to 1 which is needed to fetch all keys from database. On pages with large number of repos this could reduce load time by half

File last commit:

r688:8acbfa83 beta
r2352:90e06f53 beta
Show More
test_shortlog.py
8 lines | 249 B | text/x-python | PythonLexer
from rhodecode.tests import *
class TestShortlogController(TestController):
def test_index(self):
self.log_user()
response = self.app.get(url(controller='shortlog', action='index',repo_name=HG_REPO))
# Test response...