Skip to content

Commit 5ac64b9

Browse files
m-nathani=
authored andcommitted
Update README.md
1 parent f4f0a14 commit 5ac64b9

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,3 @@
1414
## Manage Graphql Playground
1515

1616
* `Graphql Playground`: http://localhost:3000/graphql.
17-
18-
## LICENSE
19-
MIT

src/boostrap/elasticsearch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const elasticSearchConnection = () => {
88

99
export const pingElasticsearch = async (client: Client) => {
1010
return client.ping({
11-
requestTimeout: 30000,
11+
requestTimeout: 3000,
1212
});
1313
};
1414

src/boostrap/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const bootstrap = async (): Promise<ApolloServer> => {
99
await pingElasticsearch(elasticClient);
1010
return await apolloServer(schema);
1111
} catch (err) {
12-
console.log('bootstrap error', err);
12+
console.log('bootstrap error: ', err);
13+
throw err;
1314
}
1415
};

0 commit comments

Comments
 (0)