Skip to content

Commit

Permalink
Merge pull request #785 from hinashi/fixed/search_chain_api/max_count
Browse files Browse the repository at this point in the history
Changed to increase the maximum value of SearchChainAPI
  • Loading branch information
userlocalhost authored Mar 2, 2023
2 parents f506b4f + 44a7836 commit 15ef1a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api_v1/entry/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from entry.models import Entry
from entry.settings import CONFIG

SEARCH_ENTRY_LIMIT = 999999
SEARCH_ENTRY_LIMIT = 200


class ReferSerializer(serializers.Serializer):
Expand Down
2 changes: 1 addition & 1 deletion entry/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"MAX_HISTORY_COUNT": 10,
"MAX_QUERY_SIZE": 249, # '.*' + '[aA]'*249 + '.*' = 1000
"MAX_QUERY_COUNT": 1000,
"SEARCH_CHAIN_ACCEPTABLE_RESULT_COUNT": 200,
"SEARCH_CHAIN_ACCEPTABLE_RESULT_COUNT": 1000,
"EMPTY_SEARCH_CHARACTER": "\\",
"EMPTY_SEARCH_CHARACTER_CODE": chr(165),
"EXSIT_CHARACTER": "*",
Expand Down

0 comments on commit 15ef1a8

Please sign in to comment.