From 210bcfa016083f5f4745fa44788f87a671b5b1e0 Mon Sep 17 00:00:00 2001 From: Aydar Farrakhov Date: Mon, 4 Mar 2024 13:18:22 +0300 Subject: [PATCH] try to fix long request on explorer --- indexer/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/indexer/package.json b/indexer/package.json index b0c6d2a..859933f 100644 --- a/indexer/package.json +++ b/indexer/package.json @@ -10,6 +10,7 @@ "migrations:generate": "sqd migration:generate", "migrations:apply": "sqd migration:apply", "serve": "squid-graphql-server --subscriptions serve", + "serve:prod": "squid-graphql-server --subscriptions --dumb-cache in-memory --dumb-cache-ttl 1000 --dumb-cache-size 100 --dumb-cache-max-age 1000", "format": "prettier --write \"src/**/*.ts\"", "start": "npm run migration:apply && node lib/main.js" },