Skip to main content

Variable: MAX\_CONCURRENT\_POOL\_FETCHES

Gala Launchpad SDK 9.0.0-rc.5


Gala Launchpad SDK 9.0.0-rc.5 / index / MAX_CONCURRENT_POOL_FETCHES

Variable: MAX_CONCURRENT_POOL_FETCHES

const MAX_CONCURRENT_POOL_FETCHES: 5 = 5

Defined in: packages/launchpad-sdk/dist/constants/config.d.ts:29

Maximum concurrent pool fetch requests for auto-pagination

When fetching multiple pages of pools (e.g., limit: 100 or limit: 0), this controls how many API requests can run in parallel.

Balances:

  • Higher values = faster data fetching
  • Lower values = more API-friendly, less risk of rate limiting

Default: 5 concurrent requests

Example​

import { MAX_CONCURRENT_POOL_FETCHES } from '@gala-chain/launchpad-sdk';

console.log(`SDK will fetch up to ${MAX_CONCURRENT_POOL_FETCHES} pages concurrently`);
// Output: "SDK will fetch up to 5 pages concurrently"