mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 00:01:55 +00:00
fix: add cache for flow as flow step
This commit is contained in:
@@ -2493,7 +2493,7 @@ async fn handle_queued_job<R: rsmq_async::RsmqConnection + Send + Sync + Clone>(
|
||||
&job.args,
|
||||
)
|
||||
.await;
|
||||
if job.is_flow_step {
|
||||
if job.is_flow_step && !matches!(job.job_kind, JobKind::Flow) {
|
||||
let flow_path = sqlx::query_scalar!(
|
||||
"SELECT script_path FROM queue WHERE id = $1",
|
||||
&job.parent_job.unwrap()
|
||||
|
||||
Reference in New Issue
Block a user