Skip to content

Commit

Permalink
Add user metadata node to initial peer list (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
hareeshnagaraj authored Sep 30, 2019
1 parent 5002837 commit cdc96bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions discovery-provider/src/tasks/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,10 @@ def refresh_peer_connections(task_context):
continue
cnode_endpoints[cnode_url] = True

# Add user metadata URL to peer connection list
user_node_url = task_context.shared_config["discprov"]["user_metadata_service_url"]
cnode_endpoints[user_node_url] = True

# Update creator node list
ipfs_client.update_cnode_urls(cnode_endpoints.keys())

Expand Down

1 comment on commit cdc96bb

@dmanjunath
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.