Skip to content

Commit

Permalink
[ENH] Do not log 429s in chroma-load. (#3398)
Browse files Browse the repository at this point in the history
  • Loading branch information
rescrv authored Jan 3, 2025
1 parent 894663c commit 4c2161b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rust/load/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,9 @@ impl LoadService {
.step(&client, &this.metrics, &*data_set, &mut state)
.await
.map_err(|err| {
tracing::error!("workload failed: {err:?}");
if !format!("{err:?}").contains("429") {
tracing::error!("workload failed: {err:?}");
}
Error::FailWorkload(err.to_string())
})
};
Expand Down

0 comments on commit 4c2161b

Please sign in to comment.