Skip to content

Commit f2ece09

Browse files
committed
PR feedback; rename error in collector and correct schema.md
1 parent 72c43eb commit f2ece09

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

collector/src/bin/collector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1511,7 +1511,7 @@ async fn run_job_queue_benchmarks(
15111511
// not with a benchmark.
15121512
conn.record_error(
15131513
artifact_row_id,
1514-
&format!("exhausted retry count"),
1514+
"Job failure",
15151515
&format!("Error while benchmarking job {benchmark_job:?}: {error:?}"),
15161516
Some(benchmark_job.id()),
15171517
)

database/schema.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ Records an error within the application namely a;
257257

258258
Columns:
259259

260-
* **id** (`BIGINT` / `SERIAL`): Primary key identifier for the job row;
261-
auto increments with each new job.
260+
* **id** (`BIGINT` / `SERIAL`): Primary key identifier for the error row;
261+
auto increments with each new error.
262262
* **aid** (`INTERGER`): References the artifact id column.
263263
* **context** (`TEXT NOT NULL`): A little message to be able to understand a
264264
bit more about why or where the error occured.

0 commit comments

Comments
 (0)