MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / limited_request_func_per_ip

Function limited_request_func_per_ip

benchmarks/benchmark_serving.py:526–528  ·  view source on GitHub ↗
(req_input, semaphore, pbar)

Source from the content-addressed store, hash-verified

524 }
525
526 async def limited_request_func_per_ip(req_input, semaphore, pbar):
527 async with semaphore:
528 return await request_func(request_func_input=req_input, pbar=pbar)
529
530 tasks = []
531 for i, ip in enumerate(ip_list):

Callers 1

benchmarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected