Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion collector/src/bin/collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1389,7 +1389,9 @@ Make sure to modify `{dir}/perf-config.json` if the category/artifact don't matc
let collector_config = rt
.block_on(conn.start_collector(&collector_name, &git_sha))?
.ok_or_else(|| {
anyhow::anyhow!("Collector with name `{collector_name}` not found")
anyhow::anyhow!(
"No active collector with the name `{collector_name}` not found"
)
})?;

if collector_config.target().as_str() != host_target_tuple {
Expand Down
3 changes: 2 additions & 1 deletion database/src/pool/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1816,7 +1816,8 @@ where
last_heartbeat_at = NOW(),
commit_sha = $2
WHERE
name = $1
name = $1 AND
is_active = true
RETURNING
target,
benchmark_set,
Expand Down
Loading