File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1414## Manage Graphql Playground
1515
1616* ` Graphql Playground ` : http://localhost:3000/graphql .
17-
18- ## LICENSE
19- MIT
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export const elasticSearchConnection = () => {
88
99export const pingElasticsearch = async ( client : Client ) => {
1010 return client . ping ( {
11- requestTimeout : 30000 ,
11+ requestTimeout : 3000 ,
1212 } ) ;
1313} ;
1414
Original file line number Diff line number Diff 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} ;
You can’t perform that action at this time.
0 commit comments