Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #65 from ar-io/fix-warp-evaluation
Browse files Browse the repository at this point in the history
fix(warp): set default evaluation timeout to one hour
  • Loading branch information
dtfiedler authored Nov 27, 2023
2 parents dd84862 + 3b90cd0 commit dda854e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ export const ARNS_CONTRACT_ID_REGEX = '([a-zA-Z0-9-_s+]{43})';
export const ARNS_NAME_REGEX = '([a-zA-Z0-9-s+]{1,51})';
export const EVALUATION_TIMEOUT_MS = 10_000; // 10 sec state timeout
export const allowedContractTypes = ['ant'] as const;
export const DEFAULT_EVALUATION_OPTIONS: Partial<EvaluationOptions> = {};
export const DEFAULT_EVALUATION_OPTIONS: Partial<EvaluationOptions> = {
maxInteractionEvaluationTimeSeconds: 3600, // one hour
};

0 comments on commit dda854e

Please sign in to comment.