Merge pull request #44 from hyperlane-xyz/query-limit-30

Increase message query limit to 30
pull/48/head
Nam Chu Hoai 1 year ago committed by GitHub
commit 1cdf0448fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/features/messages/queries/useMessageQuery.ts

@ -15,7 +15,7 @@ import { parseMessageQueryResult, parseMessageStubResult } from '../queries/pars
const SEARCH_AUTO_REFRESH_DELAY = 15000; const SEARCH_AUTO_REFRESH_DELAY = 15000;
const MSG_AUTO_REFRESH_DELAY = 10000; const MSG_AUTO_REFRESH_DELAY = 10000;
const LATEST_QUERY_LIMIT = 12; const LATEST_QUERY_LIMIT = 30;
const SEARCH_QUERY_LIMIT = 50; const SEARCH_QUERY_LIMIT = 50;
export function isValidSearchQuery(input: string, allowAddress?: boolean) { export function isValidSearchQuery(input: string, allowAddress?: boolean) {

Loading…
Cancel
Save