From 779d70f9649b80791171a1bf4bb6f338dd7aea9e Mon Sep 17 00:00:00 2001 From: Aydar Farrakhov Date: Fri, 9 Feb 2024 16:04:57 +0300 Subject: [PATCH] add subscriptions --- indexer/commands.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indexer/commands.json b/indexer/commands.json index ac21a21..77be65a 100644 --- a/indexer/commands.json +++ b/indexer/commands.json @@ -57,11 +57,12 @@ }, "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", + "--subscriptions", "--dumb-cache", "in-memory", "--dumb-cache-ttl", "1000", "--dumb-cache-size", "100",