mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
Update router/src/usage_stats.rs
Co-authored-by: Hugo Larcher <hugo.larcher@huggingface.co>
This commit is contained in:
parent
2dfd111e63
commit
01d6e0ba32
@ -57,6 +57,7 @@ impl UsageStatsEvent {
|
|||||||
let client = reqwest::Client::new();
|
let client = reqwest::Client::new();
|
||||||
let _ = client
|
let _ = client
|
||||||
.post(TELEMETRY_URL)
|
.post(TELEMETRY_URL)
|
||||||
|
.headers(headers)
|
||||||
.body(body)
|
.body(body)
|
||||||
.timeout(Duration::from_secs(5))
|
.timeout(Duration::from_secs(5))
|
||||||
.send()
|
.send()
|
||||||
|
Loading…
Reference in New Issue
Block a user