Skip to content

Commit

Permalink
feat: increase timeout waiting for done callback from 2 minutes to 5 … (
Browse files Browse the repository at this point in the history
#1682)

* feat: increase timeout waiting for done callback from 2 minutes to 5 minutes

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
yirutang and gcf-owl-bot[bot] committed Jul 26, 2022
1 parent 68635ff commit 5171898
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -491,7 +491,7 @@ private void appendLoop() {
// We can close the stream connection and handle the remaining inflight requests.
if (streamConnection != null) {
this.streamConnection.close();
waitForDoneCallback(2, TimeUnit.MINUTES);
waitForDoneCallback(5, TimeUnit.MINUTES);
}

// At this point, there cannot be more callback. It is safe to clean up all inflight requests.
Expand Down

0 comments on commit 5171898

Please sign in to comment.