Skip to content

Commit 9c38e3e

Browse files
authored
Bug 2003116 - BMO ETL: Increase timeout value for sending data to BigQuery using REST API
1 parent 2552dcb commit 9c38e3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/BMO/bin/export_bmo_etl.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
# BigQuery API cannot handle payloads larger than 10MB so
3636
# we will send data in blocks.
37-
use constant API_BLOCK_COUNT => 1000;
37+
use constant API_BLOCK_COUNT => 500;
3838

3939
# Products which we should not send data to ETL such as Legal, etc.
4040
use constant EXCLUDE_PRODUCTS => ('Legal',);
@@ -77,7 +77,7 @@
7777
requests_redirectable => [qw(GET HEAD DELETE PUT)],
7878
);
7979
$ua->timing('1,2,4,8,16,32');
80-
$ua->timeout(30);
80+
$ua->timeout(300); # five minutes
8181
if (my $proxy = Bugzilla->params->{proxy_url}) {
8282
$ua->proxy(['https', 'http'], $proxy);
8383
}

0 commit comments

Comments
 (0)