##// END OF EJS Templates
revert default to 20, for large repositories it's better to go less and have it faster....
marcink -
r1864:baef43bc beta
parent child Browse files
Show More
@@ -37,8 +37,7 b' from rhodecode.lib.base import BaseRepoC'
37 from rhodecode.lib.helpers import RepoPage
37 from rhodecode.lib.helpers import RepoPage
38 from rhodecode.lib.compat import json
38 from rhodecode.lib.compat import json
39
39
40 from vcs.exceptions import RepositoryError, ChangesetError, \
40 from vcs.exceptions import RepositoryError, ChangesetDoesNotExistError
41 ChangesetDoesNotExistError,BranchDoesNotExistError
42
41
43 log = logging.getLogger(__name__)
42 log = logging.getLogger(__name__)
44
43
@@ -54,7 +53,7 b' class ChangelogController(BaseRepoContro'
54
53
55 def index(self):
54 def index(self):
56 limit = 100
55 limit = 100
57 default = 40
56 default = 20
58 if request.params.get('size'):
57 if request.params.get('size'):
59 try:
58 try:
60 int_size = int(request.params.get('size'))
59 int_size = int(request.params.get('size'))
General Comments 0
You need to be logged in to leave comments. Login now