Fix a task chain bug

This commit is contained in:
simon987
2019-02-24 13:34:13 -05:00
parent ab040ae040
commit ce5344d9c7
4 changed files with 57 additions and 2 deletions

View File

@@ -113,7 +113,8 @@ BEGIN
priority, retries, max_retries, status, recipe)
VALUES (old.hash64, chain, NULL, old.max_assign_time, NULL,
old.verification_count, old.priority, 0, old.max_retries, 1,
old.recipe);
old.recipe)
ON CONFLICT DO NOTHING;
end if;
end if;
RETURN OLD;