Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
rumenov committed Oct 8, 2024
1 parent a57d8a3 commit aa60a7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/agent/src/agent/http/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export enum RequestStatusResponseStatus {
Done = 'done',
}

// Default delta for ingress expiry is 5 minutes.
const DEFAULT_INGRESS_EXPIRY_DELTA_IN_MSECS = 5 * 60 * 1000;
// Default delta for ingress expiry is 3 minutes.
const DEFAULT_INGRESS_EXPIRY_DELTA_IN_MSECS = 3 * 60 * 1000;

// Root public key for the IC, encoded as hex
export const IC_ROOT_KEY =
Expand Down
2 changes: 1 addition & 1 deletion packages/agent/src/agent/http/transforms.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test('it should round down to the nearest minute', () => {
// 2021-04-26T17:47:11.314Z - high precision
jest.setSystemTime(new Date(1619459231314));

const expiry = new Expiry(5 * 60 * 1000);
const expiry = new Expiry(3 * 60 * 1000);
expect(expiry['_value']).toEqual(BigInt(1619459460000000000));

const expiry_as_date_string = new Date(
Expand Down

0 comments on commit aa60a7d

Please sign in to comment.