Skip to content

Commit

Permalink
chore: modify wiki index size limit
Browse files Browse the repository at this point in the history
  • Loading branch information
cir9no committed Nov 4, 2024
1 parent 9f4d884 commit 0dc90b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion seasearch/index_task/index_task_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _parse_config(self, config):
config, section_name, 'seasearch_token'
)
wiki_size_limit = get_opt_from_conf_or_env(
config, section_name, 'wiki_file_size_limit', default=int(10)
config, section_name, 'wiki_file_size_limit', default=int(5)
)
self.seasearch_api = SeaSearchAPI(
seasearch_url,
Expand Down
2 changes: 1 addition & 1 deletion seasearch/script/wiki_index_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def start_index_local():
config, section_name, 'seasearch_token'
)
wiki_size_limit = get_opt_from_conf_or_env(
config, section_name, 'wiki_file_size_limit', default=int(10)
config, section_name, 'wiki_file_size_limit', default=int(5)
)
index_manager = IndexManager(config)
seasearch_api = SeaSearchAPI(seasearch_url, seasearch_token)
Expand Down

0 comments on commit 0dc90b3

Please sign in to comment.