mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2025-01-19 03:06:31 +00:00
lower async amount
This commit is contained in:
parent
9f02d1eece
commit
73b0da6069
@ -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": {
|
||||||
|
Loading…
Reference in New Issue
Block a user