Temporal UI (local) is just showing 8 running workflows at a time.
9th workflow is not showing up.
When a signal is sent to the 9th workflow, WorkflowNotFoundException is thrown.
But after terminating one of the 8 running workflows, the 9th one shows up.
Is there any limit to the number of workflows that can be run at a time?
While checking the Temporal server logs, I am seeing the following error message: "msg":"service failures","operation":"StartWorkflowExecution","wf-namespace":"temporal-system","error":"Not enough hosts to serve the request"
I am running a Spring Boot application locally.
For starting worker and executing workflow, I have taken reference from HelloActivity.java.
For starting the Temporal server, I am using the below command: temporal server start-dev --dynamic-config-value frontend.enableUpdateWorkflowExecution=true
Figured out the issue: The controller used to trigger the workflow was annotated with @Async, but the workflow was started synchronously. It seems like there is some thread limit associated with using @Async.