-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
eth/fetcher: fix fetcher timeout #28220
Conversation
Damn, sneaky. Please change the constant type to |
(sorry wrong button) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed a commit removing some remaining int64->time.Time
coercion. LGTM now, ltgy?
Appveyor/windows -- the new test is too much reliant on a non-sucky cpu. |
Fixed the test, I think your change slightly changed the semantic from < to <= which broke the test |
Maybe needs a rebase or something? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
a487e32
to
2b0f246
Compare
This changes fixes a bug in the fetcher, where the timeout for how long to remember underpriced transaction was erroneously compared, and the timeout never hit. --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
This reverts commit ddd8a08.
This reverts commit ddd8a08.
This changes fixes a bug in the fetcher, where the timeout for how long to remember underpriced transaction was erroneously compared, and the timeout never hit. --------- Co-authored-by: Martin Holst Swende <martin@swende.se>
eth/fetcher: fix fetcher timeout (ethereum#28220)
This PR adds a test and fixes a corresponding bug in the tx fetcher