From 65af56d5bded04c8f30eb4aeebf582454624bee9 Mon Sep 17 00:00:00 2001 From: digimer Date: Sun, 25 Jun 2023 23:20:03 -0400 Subject: [PATCH] * Updated Database->insert_or_update_jobs() to not look for jobs that are complete when no job_uuid is passed. Signed-off-by: digimer --- Anvil/Tools/Database.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Anvil/Tools/Database.pm b/Anvil/Tools/Database.pm index 671e7b7a..f6c0ebe6 100644 --- a/Anvil/Tools/Database.pm +++ b/Anvil/Tools/Database.pm @@ -10264,6 +10264,8 @@ AND job_data = ".$anvil->Database->quote($job_data)." AND job_host_uuid = ".$anvil->Database->quote($job_host_uuid)." +AND + job_progress != 100 ;"; $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { query => $query }});