Skip to content

Commit

Permalink
Update file fetch timeout for warp file
Browse files Browse the repository at this point in the history
  • Loading branch information
pgebheim committed Nov 3, 2020
1 parent 51da649 commit dff20fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/augur-sdk-lite/src/AugurLite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface Addresses {
WarpSync: string;
}

const FILE_FETCH_TIMEOUT = 10000; // 10 seconds
const FILE_FETCH_TIMEOUT = 30000; // 10 seconds

export class AugurLite {
readonly hotLoading: HotLoading;
Expand Down
2 changes: 1 addition & 1 deletion packages/augur-sdk/src/warp/WarpController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { Markets } from '../state/getter/Markets';
import { Checkpoints } from './Checkpoints';

export const WARPSYNC_VERSION = '1';
const FILE_FETCH_TIMEOUT = 10000; // 10 seconds
const FILE_FETCH_TIMEOUT = 30000; // 10 seconds

type NameOfType<T, R> = {
[P in keyof T]: T[P] extends R ? P : never;
Expand Down

0 comments on commit dff20fd

Please sign in to comment.