edgexfoundry / device-onvif-camera

Owner: Device WG
Apache License 2.0
29 stars 37 forks source link

fix: Get command should return server error instead of timeout error #322

Closed weichou1229 closed 1 year ago

weichou1229 commented 1 year ago

Set the default AppCustom.RequestTimeout config to 4 (less than the service request tmieout). Then, the service can reply the proper error content in the response.

Close #256

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md

PR Checklist

Please check if your PR fulfills the following requirements:

Testing Instructions

Run core service and device service to check the command should return server error instead of timeout error

New Dependency Instructions (If applicable)