diff --git a/packages/hydra-cli/src/templates/graphql-server/src/index.ts.mst b/packages/hydra-cli/src/templates/graphql-server/src/index.ts.mst index b2566544..60b79534 100644 --- a/packages/hydra-cli/src/templates/graphql-server/src/index.ts.mst +++ b/packages/hydra-cli/src/templates/graphql-server/src/index.ts.mst @@ -35,7 +35,7 @@ async function bootstrap() { }, { namingStrategy: new CustomNamingStrategy(), - maxQueryExecutionTime: 1000, + maxQueryExecutionTime: Number(process.env.GRAPHQL_SERVER_DB_QUERY_TIMEOUT) || undefined, logging: [process.env.WARTHOG_DB_LOGGING || 'error'], } );