File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
document-ai/snippets/src/main/java/documentai Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public static void batchProcessDocument(
106106 // Note: first request to the service takes longer than subsequent
107107 // requests.
108108 System .out .println ("Waiting for operation to complete..." );
109- future .get (180 , TimeUnit .SECONDS );
109+ future .get (240 , TimeUnit .SECONDS );
110110
111111 System .out .println ("Document processing complete." );
112112
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ public static void batchParseFormGcs(
128128
129129 // Wait for operation to complete.
130130 System .out .println ("Waiting for operation to complete..." );
131- future .get (300 , TimeUnit .SECONDS );
131+ future .get (360 , TimeUnit .SECONDS );
132132
133133 System .out .println ("Document processing complete." );
134134
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ public static void batchParseTableGcs(
131131
132132 // Wait for operation to complete.
133133 System .out .println ("Waiting for operation to complete..." );
134- future .get (300 , TimeUnit .SECONDS );
134+ future .get (360 , TimeUnit .SECONDS );
135135
136136 System .out .println ("Document processing complete." );
137137
You can’t perform that action at this time.
0 commit comments