You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
all: Defer getting manifest from IPFS when starting subgraph
The current code in `SubgraphAssignmentProvider.start` fetched the manifest
from IPFS before starting a subgraph. But the code calling `start`,
ultimately `SubgraphRegistrar.start_assigned_subgraphs` waited for all
subgraphs to start successfully before processing assignment events.
That could lead to a situation where a slow IPFS server, even if it was
slow for just one subgraph, could keep a node from processing assignment
events.
With these changes, interacting with IPFS is deferred to the future that is
spawned for running the subgraph so that slow IPFS can slow how long it
takes for a subgraph to start, but not the system overall.
0 commit comments