mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-26 20:42:06 +00:00
(misc) change scope identifiers
This commit is contained in:
parent
933ab67aa1
commit
0dca168bcb
@ -43,7 +43,7 @@ fn executor_status_poller(
|
|||||||
|
|
||||||
// TODO: Does it need a spin-loop?
|
// TODO: Does it need a spin-loop?
|
||||||
loop {
|
loop {
|
||||||
span!(Level::DEBUG, "in-flight submit").in_scope(|| {
|
span!(Level::DEBUG, "[in-flight][submit]").in_scope(|| {
|
||||||
// Is there any request pending to be scheduled?
|
// Is there any request pending to be scheduled?
|
||||||
let awaiting_requests = waiting_requests.len();
|
let awaiting_requests = waiting_requests.len();
|
||||||
if awaiting_requests > 0 {
|
if awaiting_requests > 0 {
|
||||||
@ -84,7 +84,7 @@ fn executor_status_poller(
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
span!(Level::DEBUG, "in-flight poll").in_scope(|| {
|
span!(Level::DEBUG, "[in-flight][poll]").in_scope(|| {
|
||||||
if backend.num_responses_ready() > 0 {
|
if backend.num_responses_ready() > 0 {
|
||||||
match backend.pin_mut().pull_tokens() {
|
match backend.pin_mut().pull_tokens() {
|
||||||
Ok(responses) => {
|
Ok(responses) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user