Hello i am adding workers in the sanic env and trying to load test using locust on a server. It is working fine when using nlu only and all the workers are being utilized but when i am using core (complete rasa) it is not working as expected it is taking too much time breaks in between and is not utilizing all the workers given. what might be the problem. i have attached the code to add workers and run rasa in a python file below.
[details=“Summary”] from rasa import run
import os
os.environ[“SANIC_WORKERS”] = “4”
num_workers = (os.environ.get(“SANIC_WORKERS”))
Print the number of workers
print(f"Number of Sanic workers: {num_workers}")
run(model=‘models/20240218-215833-obvious-kilometer.tar.gz’, endpoints=‘endpoints.yml’)