Skip to content

Commit

Permalink
fix: incomplete .graphqlrc.yml (#3039)
Browse files Browse the repository at this point in the history
  • Loading branch information
neo773 authored Oct 20, 2024
1 parent 774f5f3 commit d519a7a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cli/tc/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ pub(super) async fn init_command(runtime: TargetRuntime, folder_path: &str) -> R
fn default_graphqlrc() -> serde_yaml::Value {
serde_yaml::Value::Mapping(serde_yaml::mapping::Mapping::from_iter([(
"schema".into(),
serde_yaml::Value::Sequence(vec!["./.tailcallrc.graphql".into()]),
serde_yaml::Value::Sequence(vec![
"./.tailcallrc.graphql".into(),
"./main.graphql".into(),
]),
)]))
}

Expand Down

1 comment on commit d519a7a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running 30s test @ http://localhost:8000/graphql

4 threads and 100 connections

Thread Stats Avg Stdev Max +/- Stdev
Latency 10.40ms 4.08ms 140.59ms 90.91%
Req/Sec 2.44k 346.32 3.68k 79.17%

291863 requests in 30.03s, 1.46GB read

Requests/sec: 9717.51

Transfer/sec: 49.88MB

Please sign in to comment.