Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@daostack/arc.js",
"version": "0.2.81",
"version": "0.2.82",
"description": "",
"keywords": [],
"main": "dist/lib/index.js",
Expand Down
5 changes: 4 additions & 1 deletion src/graphnode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ export function createApolloClient(options: {
uri: options.graphqlHttpProvider
})

// 'lazy: true' and 'reconnect: false' are temporary fixes to avoid unnecessary web socket calls from the graph.
// See https://github.com/daostack/arc.js/pull/573
const wsLink = new WebSocketLink({
options: {
reconnect: true
lazy: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

reconnect: false
},
uri: options.graphqlWsProvider,
webSocketImpl: WebSocket
Expand Down