Skip to content

Commit

Permalink
chore(hapi): decrease timeout when request supported apis
Browse files Browse the repository at this point in the history
  • Loading branch information
Torresmorah committed Apr 26, 2023
1 parent f898943 commit 5b18b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hapi/src/utils/producer.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const getSupportedAPIs = async (api) => {

try {
const response = await axiosUtil.instance.get(
`${api}/v1/node/get_supported_apis`
`${api}/v1/node/get_supported_apis`, { timeout: 30000 }
)

supportedAPIs = response.data?.apis
Expand Down

0 comments on commit 5b18b2d

Please sign in to comment.