Skip to content

Commit

Permalink
change event fetch interval to 5 min
Browse files Browse the repository at this point in the history
  • Loading branch information
yizhoucao committed Feb 26, 2019
1 parent 2564908 commit 65d10a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ export const REDEEM_GAS_TH = 0.005;
export const CREATE_INTERVAL = 10; // in seconds
export const CREATE_GAS_TH = 0.01;
export const EVENT_FETCH_BLOCK_INTERVAL = 100;
export const EVENT_FETCH_TIME_INTERVAL = 600000;
export const EVENT_FETCH_TIME_INTERVAL = 300000;
8 changes: 4 additions & 4 deletions src/utils/__snapshots__/eventUtil.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ exports[`fetch, force 4`] = `
Array [
Array [
[Function],
600000,
300000,
],
]
`;
Expand All @@ -179,7 +179,7 @@ exports[`fetch, no events 2`] = `
Array [
Array [
[Function],
600000,
300000,
],
]
`;
Expand Down Expand Up @@ -342,7 +342,7 @@ exports[`fetch, no force 4`] = `
Array [
Array [
[Function],
600000,
300000,
],
]
`;
Expand Down Expand Up @@ -505,7 +505,7 @@ exports[`fetch, no force, continuous call 4`] = `
Array [
Array [
[Function],
600000,
300000,
],
]
`;
Expand Down

0 comments on commit 65d10a0

Please sign in to comment.