53cc1f18d0
1. Explicitly use a session when fetching messages for a block. Technically, GetBlocks would use an internal session so we'd only end up with two, but one per block is even better. 2. Actually cancel sessions after a timeout (threading through the context). NOTE: We should seriously consider having a single session for all blocks, but we can do that in a followup as it may have unintended consequences (e.g., leaks). |
||
---|---|---|
.. | ||
incoming.go |