lower async amount

This commit is contained in:
xss 2022-03-17 12:56:37 +11:00
parent 9f02d1eece
commit 73b0da6069

View File

@ -431,7 +431,7 @@ def predict(event, context):
return result return result
async def predict_async(event, context): async def predict_async(event, context):
sem = asyncio.Semaphore(20) sem = asyncio.Semaphore(5)
path = "telm-*/_search" path = "telm-*/_search"
payload = { payload = {
"aggs": { "aggs": {