Skip to content

Commit

Permalink
feat: set timeout to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
evilpeach committed Apr 18, 2024
1 parent 9251558 commit 03aff24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/services/validatorService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export const useValidatorDelegators = (validatorAddress: ValidatorAddr) => {

return useQuery(
[CELATONE_QUERY_KEYS.VALIDATOR_DELEGATORS, endpoint, validatorAddress],
createQueryFnWithTimeout(queryFn),
createQueryFnWithTimeout(queryFn, 10000),
{ retry: false }
);
};
Expand Down

0 comments on commit 03aff24

Please sign in to comment.