UNPKG

@twilio-labs/serverless-api

Version:
14 lines (13 loc) 489 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CONCURRENCY = exports.RETRY_LIMIT = void 0; let retryLimit = process.env.TWILIO_SERVERLESS_API_RETRY_LIMIT; if (typeof retryLimit === 'undefined') { retryLimit = '10'; } let concurrency = process.env.TWILIO_SERVERLESS_API_CONCURRENCY; if (typeof concurrency === 'undefined') { concurrency = '10'; } exports.RETRY_LIMIT = parseInt(retryLimit, 10); exports.CONCURRENCY = parseInt(concurrency, 10);