mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 05:39:12 +00:00
Increase rate limits for data indexing
This commit is contained in:
@@ -92,7 +92,7 @@ async def put_content(
|
|||||||
incoming_entries_size_limit=10,
|
incoming_entries_size_limit=10,
|
||||||
subscribed_incoming_entries_size_limit=75,
|
subscribed_incoming_entries_size_limit=75,
|
||||||
total_entries_size_limit=10,
|
total_entries_size_limit=10,
|
||||||
subscribed_total_entries_size_limit=100,
|
subscribed_total_entries_size_limit=400,
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
):
|
):
|
||||||
@@ -114,7 +114,7 @@ async def patch_content(
|
|||||||
incoming_entries_size_limit=10,
|
incoming_entries_size_limit=10,
|
||||||
subscribed_incoming_entries_size_limit=75,
|
subscribed_incoming_entries_size_limit=75,
|
||||||
total_entries_size_limit=10,
|
total_entries_size_limit=10,
|
||||||
subscribed_total_entries_size_limit=100,
|
subscribed_total_entries_size_limit=400,
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
):
|
):
|
||||||
|
|||||||
@@ -500,7 +500,7 @@ def get_sample_files_data():
|
|||||||
|
|
||||||
def get_big_size_sample_files_data():
|
def get_big_size_sample_files_data():
|
||||||
# a string of approximately 100 MB
|
# a string of approximately 100 MB
|
||||||
big_text = "a" * (100 * 1024 * 1024)
|
big_text = "a" * (400 * 1024 * 1024)
|
||||||
return [
|
return [
|
||||||
(
|
(
|
||||||
"files",
|
"files",
|
||||||
|
|||||||
Reference in New Issue
Block a user