Skip to content

Commit 007c751

Browse files
author
Parth Shah
committed
increasing timeout for topic creation
1 parent 02ca1c8 commit 007c751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/topicService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function _getHttpClient(req){
1616
var httpClient = util.getHttpClient(req)
1717
httpClient.defaults.headers.common['Authorization'] = req.headers.authorization
1818
httpClient.defaults.baseURL = config.get('topicServiceEndpoint')
19-
httpClient.defaults.timeout = 3000
19+
httpClient.defaults.timeout = 30000
2020
httpClient.interceptors.response.use(resp => {
2121
// req.log.debug('resp: ', JSON.stringify(resp.data, null, 2))
2222
if (resp.status !== 200 || resp.data.result.status !== 200) {

0 commit comments

Comments
 (0)