cloud_controller_ng
cloud_controller_ng copied to clipboard
Optionally overwrite timeout for Logcache::Client
The timeout used for the Logcache GRPC client was hard-coded to 250 seconds. With this change the timeout can be (optionally) configured to a different value.
Running "cf push" results in requests to /v3/processes/:guid/stats. But in case Logcache is unavailable, "cf push" can actually continue/succeed without showing the requested data. The default timeout resulted in long-running requests without adding much value.
-
[x] I have reviewed the contributing guide
-
[x] I have viewed, signed, and submitted the Contributor License Agreement
-
[x] I have made this pull request to the
mainbranch -
[x] I have run all the unit tests using
bundle exec rake -
[ ] I have run CF Acceptance Tests