Skip to content

Commit

Permalink
Changed to increase the maximum value of SearchChainAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
hinashi committed Feb 27, 2023
1 parent f506b4f commit 44a7836
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 44a7836

Please sign in to comment.