Replies: 1 comment
-
I really doubt we need the context in the syncer when it accesses exchange. It's the same problem as for DASer and GetByHeight. There is really nothing Syncer can do besides waiting until Exchange gives the requested header, and it's the responsibility of the exchange to retry internally |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Exchange request sessions can hang as long as caller's context allows (or as long as exchange is running) -- consider implementing a timeout on syncer-side to prevent a hanging request in the case 1 header is not served for some reason (as unlikely as that is).
Beta Was this translation helpful? Give feedback.
All reactions