Skip to content

Commit

Permalink
chore: increased timeout again attemp #2 (#492)
Browse files Browse the repository at this point in the history
* chore: increased timeout again attemp #2

* added missing part
  • Loading branch information
munkhuushmgl authored and Shabirmean committed Nov 15, 2022
1 parent a5cc73c commit fa72ccf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static void batchProcessDocument(
// Note: first request to the service takes longer than subsequent
// requests.
System.out.println("Waiting for operation to complete...");
future.get(180, TimeUnit.SECONDS);
future.get(240, TimeUnit.SECONDS);

System.out.println("Document processing complete.");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public static void batchParseFormGcs(

// Wait for operation to complete.
System.out.println("Waiting for operation to complete...");
future.get(300, TimeUnit.SECONDS);
future.get(360, TimeUnit.SECONDS);

System.out.println("Document processing complete.");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public static void batchParseTableGcs(

// Wait for operation to complete.
System.out.println("Waiting for operation to complete...");
future.get(300, TimeUnit.SECONDS);
future.get(360, TimeUnit.SECONDS);

System.out.println("Document processing complete.");

Expand Down

0 comments on commit fa72ccf

Please sign in to comment.