Skip to main content
Glama
retry-queue.d.ts833 B
import { RetriableRequestWithOptions } from './types'; import { PostHog } from './posthog-core'; /** * Generates a jitter-ed exponential backoff delay in milliseconds * * The base value is 6 seconds, which is doubled with each retry * up to the maximum of 30 minutes * * Each value then has +/- 50% jitter * * Giving a range of 6 seconds up to 45 minutes */ export declare function pickNextRetryDelay(retriesPerformedSoFar: number): number; export declare class RetryQueue { private instance; private isPolling; private poller; private pollIntervalMs; private queue; private areWeOnline; constructor(instance: PostHog); retriableRequest({ retriesPerformedSoFar, ...options }: RetriableRequestWithOptions): void; private enqueue; private poll; private flush; unload(): void; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sadiuysal/mem0-mcp-server-ts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server