mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
use all available cpu cores by default (#2511)
Use all available cores by default. sets -N rts flag by default. Can be disabled by setting the `GHCRTS` env variable to `-N1`.
This commit is contained in:
parent
f20b12664c
commit
66a2f33fa9
@ -118,6 +118,8 @@ refs:
|
|||||||
- run:
|
- run:
|
||||||
name: Run Python tests
|
name: Run Python tests
|
||||||
environment:
|
environment:
|
||||||
|
# hpc report seems to fail with the default -N
|
||||||
|
GHCRTS: -N1
|
||||||
HASURA_GRAPHQL_DATABASE_URL: 'postgres://gql_test:@localhost:5432/gql_test'
|
HASURA_GRAPHQL_DATABASE_URL: 'postgres://gql_test:@localhost:5432/gql_test'
|
||||||
HASURA_GRAPHQL_DATABASE_URL_2: 'postgres://gql_test:@localhost:5432/gql_test2'
|
HASURA_GRAPHQL_DATABASE_URL_2: 'postgres://gql_test:@localhost:5432/gql_test2'
|
||||||
GRAPHQL_ENGINE: '/build/_server_output/graphql-engine'
|
GRAPHQL_ENGINE: '/build/_server_output/graphql-engine'
|
||||||
@ -399,6 +401,7 @@ jobs:
|
|||||||
- image: hasura/graphql-engine-console-builder:v0.3
|
- image: hasura/graphql-engine-console-builder:v0.3
|
||||||
environment:
|
environment:
|
||||||
CYPRESS_KEY: 983be0db-0f19-40cc-bfc4-194fcacd85e1
|
CYPRESS_KEY: 983be0db-0f19-40cc-bfc4-194fcacd85e1
|
||||||
|
GHCRTS: -N1
|
||||||
- image: circleci/postgres:10-alpine-postgis
|
- image: circleci/postgres:10-alpine-postgis
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: gql_test
|
POSTGRES_USER: gql_test
|
||||||
|
@ -364,3 +364,4 @@ executable graphql-engine
|
|||||||
-Wincomplete-uni-patterns
|
-Wincomplete-uni-patterns
|
||||||
-Wredundant-constraints
|
-Wredundant-constraints
|
||||||
-threaded -rtsopts
|
-threaded -rtsopts
|
||||||
|
-with-rtsopts=-N
|
||||||
|
Loading…
Reference in New Issue
Block a user