Skip to content

Commit f535f74

Browse files
Do not show just-benchmarked in "expected"
Previously once we were done with a benchmark we'd show took and expected columns as the same, but in practice it would be better to continue to display the expected result from the previous collection.
1 parent 3683dbf commit f535f74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

database/src/pool/postgres.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@ impl PostgresConnection {
372372
(select end_time - start_time
373373
from collector_progress as cp
374374
where
375-
cp.step = collector_progress.step
375+
cp.aid != $1
376+
and cp.step = collector_progress.step
376377
and cp.start_time is not null
377378
and cp.end_time is not null
378379
order by start_time desc

0 commit comments

Comments
 (0)