Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving duration calculation after replies are sent #75

Open
wants to merge 1 commit into
base: new-index
Choose a base branch
from

Conversation

rem1-dev
Copy link

With previous way of response generation duration calculation we were not taking into account time spend on sending replies. I think that should be included in that duration therefore this change.

@shesek
Copy link
Collaborator

shesek commented Mar 25, 2024

This would make the reported duration depend on the client's connection speed, is this something we want?

Typically the time spent to send the response is proportional to the response size which is already reported, perhaps that's sufficient?

junderw pushed a commit to junderw/electrs that referenced this pull request Sep 4, 2024
Fix: Output index should be u32 to prevent clobbering when over 65536 outputs.
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.

3 participants