Hey all, I still am confused about the `work queue...
# prefect-cloud
r
Hey all, I still am confused about the
work queue
and
work pool
behavior šŸ¤” I have created a deployment with work queue
wq1
. I have created a prefect agent with work queue
wq1
. ā€¢
Agent started! Looking for work from queue(s): wq1...
When I trigger a flow via API, it is shown as: ā€¢ work pool:
default-agent-pool
ā€¢ work queue:
wq1
However, the agent does not pick up that flow run šŸ¤” Any thoughts or suggestions? PS: I did it similarly before and it worked before, I think. PPS: I redeployed the flow already several times (i.e. whenever I needed to restart the related EC2 instance).
āœ… 1
PS: the
wq1
workpool currently shows as
Unhealthy
even though the prefect agent is running šŸ¤”
OK, I found the problem šŸ˜Š One flow run was still in
PENDING
state. I guess because a previous prefect agent did not shut down properly? šŸ¤”
cancelling the PENDING flow run allowed the prefect agent to pick up a new run, I guess because of my flow run concurrency settings
443 Views