Skip to content

Commit 8bb5691

Browse files
Request timeout const name correction (#2743)
* request timeout value correction * request timeout constant name change --------- Co-authored-by: Lahiru Maramba <[email protected]>
1 parent 3234309 commit 8bb5691

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/messaging/batch-request-internal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
import { FirebaseAppError, AppErrorCodes } from '../utils/error';
2121

2222
const PART_BOUNDARY = '__END_OF_PART__';
23-
const TEN_SECONDS_IN_MILLIS = 15000;
23+
const FIFTEEN_SECONDS_IN_MILLIS = 15000;
2424

2525
/**
2626
* Represents a request that can be sent as part of an HTTP batch request.
@@ -72,7 +72,7 @@ export class BatchRequestClient {
7272
url: this.batchUrl,
7373
data: this.getMultipartPayload(requests),
7474
headers: Object.assign({}, this.commonHeaders, requestHeaders),
75-
timeout: TEN_SECONDS_IN_MILLIS,
75+
timeout: FIFTEEN_SECONDS_IN_MILLIS,
7676
};
7777
return this.httpClient.send(request).then((response) => {
7878
if (!response.multipart) {

0 commit comments

Comments
 (0)