Skip to content

Commit

Permalink
Temporarily increasing the timeout of HTTP requests
Browse files Browse the repository at this point in the history
  • Loading branch information
kneth committed Oct 30, 2023
1 parent ee98d42 commit 8067b07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/realm-app-importer/src/AdminApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ export class AdminApiClient {
// Setting additional options to signal to the RN fetch polyfill that it shouldn't consider the response a "blob"
// see https://github.com/react-native-community/fetch/issues/15
reactNative: { textStreaming: true },
timeoutMs: 5000,
} as FetchRequestInit);
if (response.ok) {
if (response.headers.get("content-type") === "application/json") {
Expand Down

0 comments on commit 8067b07

Please sign in to comment.