chime-experiment / coco

A Config Controller
https://chime-coco.readthedocs.io/
GNU General Public License v3.0
3 stars 2 forks source link

feat: add config option: timeout for specific forwards #234

Closed nritsche closed 3 years ago

anjakefala commented 3 years ago

From Rick about this PR:

you can replace "forward" with "external endpoint". coco forwards requests to HTTP endpoints. coco has a timeout setting that it applies globally. But we need to be able to set a higher timeout just for get-frame0-time. that's an "external endpoint" on carillon/fpga-master. In the coco config it's called a forward. The coco config defines "endpoints" as in endpoints coco offers. And it will forward the requests internally according to the config.

Where this config option will get set: https://github.com/chime-experiment/ch_ansible/blob/master/roles/internal/coco_common/files/endpoints/gps-time.conf