# HG changeset patch # User Marcin Kuzminski # Date 2012-01-09 01:45:21 # Node ID baef43bc457c8971eecebf2bd73eff63cb215761 # Parent 941437fdfe59124ffa48b0584605b6a8d522569f revert default to 20, for large repositories it's better to go less and have it faster. This is still saved in user session so everyone can set high number and have it saved while logged in. diff --git a/rhodecode/controllers/changelog.py b/rhodecode/controllers/changelog.py --- a/rhodecode/controllers/changelog.py +++ b/rhodecode/controllers/changelog.py @@ -37,8 +37,7 @@ from rhodecode.lib.base import BaseRepoC from rhodecode.lib.helpers import RepoPage from rhodecode.lib.compat import json -from vcs.exceptions import RepositoryError, ChangesetError, \ -ChangesetDoesNotExistError,BranchDoesNotExistError +from vcs.exceptions import RepositoryError, ChangesetDoesNotExistError log = logging.getLogger(__name__) @@ -54,7 +53,7 @@ class ChangelogController(BaseRepoContro def index(self): limit = 100 - default = 40 + default = 20 if request.params.get('size'): try: int_size = int(request.params.get('size'))