zowe / explorer-server

Explorer Server component contribution
Eclipse Public License 2.0
0 stars 1 forks source link

Hardcode or provide option to set z/OSMF call timeout #27

Closed jackjia-ibm closed 5 years ago

jackjia-ibm commented 5 years ago

Based on z/OSMF document, it accepts X-IBM-Response-Timeout header when making API request. But maximum timeout is 600 seconds.

We can hardcode the 600 timeout to all internal z/OSMF call, or we provide a way to let the API consumer to set timeout for each call.

stevenhorsman commented 5 years ago

I've hard coded the zosmf endpoint timeout to be 600. If we want to customise this we can raise a issue against explorer-api-common