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

Commit

Permalink
fix(warp): set default evaluation timeout to one hour, set inMemory t…
Browse files Browse the repository at this point in the history
…o true

This may help avoid issues when evaluating contracts with expensive interactions that do not have a contract-manifest set
  • Loading branch information
dtfiedler committed Nov 27, 2023
1 parent dd84862 commit 3b90cd0
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 3b90cd0

Please sign in to comment.