search: allow limiting the maximum number of pages

This commit is contained in:
Nicolas F
2019-04-02 17:28:39 +02:00
committed by Nicolas F
parent 2782589cda
commit 6608c99b90
2 changed files with 11 additions and 1 deletions

View File

@@ -149,6 +149,9 @@ BACKUP_TORRENT_FOLDER = 'torrents'
# How many results should a page contain. Applies to RSS as well.
RESULTS_PER_PAGE = 75
# How many pages we'll return at most
MAX_PAGES = 100
# Use better searching with ElasticSearch
# See README.MD on setup!
USE_ELASTIC_SEARCH = False