File tree 3 files changed +3
-3
lines changed
document-ai/snippets/src/main/java/documentai
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(
106
106
// Note: first request to the service takes longer than subsequent
107
107
// requests.
108
108
System .out .println ("Waiting for operation to complete..." );
109
- future .get (180 , TimeUnit .SECONDS );
109
+ future .get (240 , TimeUnit .SECONDS );
110
110
111
111
System .out .println ("Document processing complete." );
112
112
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ public static void batchParseFormGcs(
128
128
129
129
// Wait for operation to complete.
130
130
System .out .println ("Waiting for operation to complete..." );
131
- future .get (300 , TimeUnit .SECONDS );
131
+ future .get (360 , TimeUnit .SECONDS );
132
132
133
133
System .out .println ("Document processing complete." );
134
134
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ public static void batchParseTableGcs(
131
131
132
132
// Wait for operation to complete.
133
133
System .out .println ("Waiting for operation to complete..." );
134
- future .get (300 , TimeUnit .SECONDS );
134
+ future .get (360 , TimeUnit .SECONDS );
135
135
136
136
System .out .println ("Document processing complete." );
137
137
You can’t perform that action at this time.
0 commit comments