cloud_controller_ng icon indicating copy to clipboard operation
cloud_controller_ng copied to clipboard

Optionally overwrite timeout for Logcache::Client

Open philippthun opened this issue 3 years ago • 0 comments

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 main branch

  • [x] I have run all the unit tests using bundle exec rake

  • [ ] I have run CF Acceptance Tests

philippthun avatar May 10 '22 15:05 philippthun