https://prefect.io logo
b

benson

11/05/2022, 1:38 AM
Hello! New to prefect. I am using a free version of prefect cloud. However one of my work queues is “unhealthy” and scheduled run is “late”. Wondering how to remedy, and what an “unhealthy” queue means.
1
j

Jeff Hale

11/05/2022, 1:42 AM
An unhealthy queue just means that an agent has not polled the queue for work within the past minute. Do you have an agent running for that queue?
b

benson

11/05/2022, 1:47 AM
$ prefect agent start No work queues provided!
j

Jeff Hale

11/05/2022, 1:48 AM
add a
-q name_of_work_queue_here
b

benson

11/05/2022, 1:49 AM
Oh that did the trick. The work queue is healthy again. What was the issue?
🙌 1
j

Jeff Hale

11/05/2022, 2:16 AM
No problem, per se, just “An unhealthy queue just means that an agent has not polled the queue for work within the past minute.”
b

benson

11/05/2022, 3:15 AM
But what if there is time-sensitive business logic? Is it because I’m using a free version of prefect and the prefect agent/cpu doesn’t come very often to my work queue?
j

Jeff Hale

11/05/2022, 11:08 AM
Nope. You control the infrastructure your agent runs on. It's part of the Prefect hybrid model.
👍 1
b

benson

11/05/2022, 4:48 PM
That makes a lot of sense after looking it up, love the decoupling
🙌 1