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(
2289
2289
force_legacy_decode : bool = False ,
2290
2290
) -> RequestManager .RequestResults :
2291
2291
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?
2292
2294
2293
2295
subscription_added = False
2294
2296
should_retry = False
@@ -2341,6 +2343,7 @@ async def _make_rpc_request(
2341
2343
2342
2344
if request_manager .is_complete :
2343
2345
break
2346
+ # TODO I sometimes get timeouts immediately. Why?
2344
2347
if should_retry or (
2345
2348
(current_time := await ws .loop_time ()) - ws .last_received
2346
2349
>= self .retry_timeout
You can’t perform that action at this time.
0 commit comments