typed-tasks
Version:
A type-safe abstraction for Google Cloud Tasks
20 lines • 680 B
TypeScript
export declare const MINUTE_SECONDS = 60;
export declare const HOUR_SECONDS: number;
export declare const DAY_SECONDS: number;
/** Default options for Task handlers */
export declare const defaultHandlerOptions: {
readonly memory: "512MiB";
readonly timeoutSeconds: number;
readonly vpcConnector: undefined;
readonly rateLimits: {
readonly maxDispatchesPerSecond: 500;
readonly maxConcurrentDispatches: 1000;
};
readonly retryConfig: {
readonly maxAttempts: 10;
readonly minBackoffSeconds: 10;
readonly maxBackoffSeconds: number;
readonly maxRetrySeconds: 0;
};
};
//# sourceMappingURL=constants.d.ts.map