Skip to content

Commit

Permalink
Fixed QueuedTimeUs value
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoriyPA committed Jul 26, 2024
1 parent ac4e085 commit 8be321f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/kqp/session_actor/kqp_session_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ class TKqpSessionActor : public TActorBootstrapped<TKqpSessionActor> {
stats->DurationUs = ((TInstant::Now() - QueryState->StartTime).MicroSeconds());
stats->WorkerCpuTimeUs = (QueryState->GetCpuTime().MicroSeconds());
if (const auto continueTime = QueryState->ContinueTime) {
stats->QueuedTimeUs = ((TInstant::Now() - continueTime).MicroSeconds());
stats->QueuedTimeUs = (continueTime - QueryState->StartTime).MicroSeconds();
}
if (QueryState->CompileResult) {
stats->Compilation.emplace();
Expand Down

0 comments on commit 8be321f

Please sign in to comment.