Skip to content

Conversation

romange
Copy link
Collaborator

@romange romange commented Aug 9, 2023

Also, fix unreliable time measurement for http latency metric.

Also, fix unreliable time measurement for http latency metric.

Signed-off-by: Roman Gershman <[email protected]>
DispatchMonitor(dfly_cntx, args);
}

uint64_t start_ns = ProactorBase::GetMonotonicTimeNs(), end_ns;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is my code, I don't know why but I remember I used absl::GetCurrentTimeNanos(), lol I wonder what happened 🙃

if (!res)
return (*cntx)->SendError(res.error().Format(), facade::kScriptErrType);

string sha{move(res.value())};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
string sha{move(res.value())};
string sha{move(res).value()};

@romange romange merged commit f2ddbe7 into main Aug 10, 2023
@romange romange deleted the Pr1 branch August 10, 2023 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants