Skip to content

Commit a1e88f7

Browse files
committed
Ignore duplicate values in artifact_collection_duration in Postgre
1 parent cf98095 commit a1e88f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

database/src/pool/postgres.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ impl PostgresConnection {
445445
date_recorded,
446446
duration
447447
) VALUES ($1, CURRENT_TIMESTAMP, $2)
448+
ON CONFLICT DO NOTHING
448449
").await.unwrap(),
449450
in_progress_steps: conn.prepare("
450451
select step,

0 commit comments

Comments
 (0)