mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-13 15:19:03 +00:00
search: allow limiting the maximum number of pages
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user