Skip to content

Commit

Permalink
Pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Dec 7, 2018
1 parent 74d8fb2 commit 0e0c957
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion ckanext/datastore/tests/test_dump.py
Expand Up @@ -509,7 +509,6 @@ def test_dump_pagination_with_rows_max(self):
assert_equals(get_csv_record_values(response.body),
range(7))


@helpers.change_config('ckan.datastore.search.rows_max', '6')
@mock.patch('ckanext.datastore.controller.PAGINATE_BY', 6)
def test_dump_pagination_with_rows_max_same_as_paginate(self):
Expand Down
1 change: 1 addition & 0 deletions doc/maintaining/configuration.rst
Expand Up @@ -299,6 +299,7 @@ Default value: ``32000``
Maximum allowed value for the number of rows returned by the datastore.

Specifically this limits:

* ``datastore_search``'s ``limit`` parameter.
* ``datastore_search_sql`` queries have this limit inserted.

Expand Down

0 comments on commit 0e0c957

Please sign in to comment.