File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
async_substrate_interface Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -2289,6 +2289,8 @@ async def _make_rpc_request(
22892289 force_legacy_decode : bool = False ,
22902290 ) -> RequestManager .RequestResults :
22912291 request_manager = RequestManager (payloads )
2292+ # TODO maybe instead of the current logic, I should assign the futs during send() and then just
2293+ # TODO use that to determine when it's completed. But how would this work with subscriptions?
22922294
22932295 subscription_added = False
22942296 should_retry = False
@@ -2341,6 +2343,7 @@ async def _make_rpc_request(
23412343
23422344 if request_manager .is_complete :
23432345 break
2346+ # TODO I sometimes get timeouts immediately. Why?
23442347 if should_retry or (
23452348 (current_time := await ws .loop_time ()) - ws .last_received
23462349 >= self .retry_timeout
You can’t perform that action at this time.
0 commit comments