Skip to content

Commit

Permalink
Merge pull request #5 from Cerebellum-Network/feature/graphql-subscri…
Browse files Browse the repository at this point in the history
…ption

Enable GraphQL query subscriptions
  • Loading branch information
khssnv authored Aug 6, 2024
2 parents 82e4060 + 41c3d2a commit 912226f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,17 @@
},
"serve": {
"description": "Start the GraphQL API server",
"cmd": ["squid-graphql-server"]
"cmd": ["squid-graphql-server", "--subscriptions"]
},
"serve:prod": {
"description": "Start the GraphQL API server with caching and limits",
"cmd": ["squid-graphql-server",
"--dumb-cache", "in-memory",
"--dumb-cache-ttl", "1000",
"--dumb-cache-size", "100",
"--dumb-cache-max-age", "1000" ]
"--dumb-cache-max-age", "1000",
"--subscriptions"
]
},
"check-updates": {
"cmd": ["npx", "--yes", "npm-check-updates", "--filter=/subsquid/", "--upgrade"],
Expand Down

0 comments on commit 912226f

Please sign in to comment.