Skip to content

Graph Indexer Issue #876

Closed Answered by mtfuji25
oselezi asked this question in Q&A
Discussion options

You must be logged in to vote

I believe the way this works is that both indexer-agent and indexer-service will monitor the status of the INDEXER_AGENT_NETWORK_SUBGRAPH_DEPLOYMENT deployment by checking with your index-node (defined by INDEXER_SERVICE_GRAPH_NODE_STATUS_ENDPOINT). Until that subgraph is synced, it'll fallback to INDEXER_AGENT_NETWORK_SUBGRAPH_ENDPOINT for queries against the network subgraph, but once it is synced, it will use the local deployment instead. The same is true for indexer-service (with the respective env variables).

INDEXER_AGENT_SERVE_NETWORK_SUBGRAPH is a legacy approach, which had indexer-agent implement the proxy and fallback for the network subgraph at /network, and then have indexer-s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by oselezi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants