yaschema-api-google-cloud-task-creator
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -31,3 +31,3 @@ "use strict"; | ||
const alreadyScheduledNames = new Set(); | ||
const defaultCallOptions = { timeout: 90 * ONE_SEC_MSEC }; | ||
const defaultCallOptions = { timeout: 30 * ONE_SEC_MSEC }; | ||
/** Uses `new CloudTasksClient().createTask` to access the specified API */ | ||
@@ -34,0 +34,0 @@ const createGoogleCloudTask = (api_1, req_1, ...args_1) => __awaiter(void 0, [api_1, req_1, ...args_1], void 0, function* (api, req, { requestValidationMode = (0, validation_mode_js_1.getDefaultRequestValidationMode)(), creationOptions, delayMSec = 0, limitMode = defaults_js_1.DEFAULT_TASK_LIMIT_MODE, limitMSec = defaults_js_1.DEFAULT_TASK_LIMIT_MSEC, limitType = defaults_js_1.DEFAULT_TASK_LIMIT_TYPE, limitNameExtension = '' } = {}) { |
@@ -15,3 +15,3 @@ import type { CallOptions } from 'google-gax'; | ||
requestValidationMode?: ValidationMode; | ||
/** The default timeout is 90000ms (90s) */ | ||
/** The default timeout is 30000ms (30s) */ | ||
creationOptions?: CallOptions; | ||
@@ -18,0 +18,0 @@ /** @defaultValue `0` */ |
{ | ||
"name": "yaschema-api-google-cloud-task-creator", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Google Cloud createTask support for yaschema-api", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -40,3 +40,3 @@ import type { google } from '@google-cloud/tasks/build/protos/protos'; | ||
const defaultCallOptions: CallOptions = { timeout: 90 * ONE_SEC_MSEC }; | ||
const defaultCallOptions: CallOptions = { timeout: 30 * ONE_SEC_MSEC }; | ||
@@ -51,3 +51,3 @@ /** When limiting is used, the api.name is the primary key used for deduplication */ | ||
requestValidationMode?: ValidationMode; | ||
/** The default timeout is 90000ms (90s) */ | ||
/** The default timeout is 30000ms (30s) */ | ||
creationOptions?: CallOptions; | ||
@@ -54,0 +54,0 @@ /** @defaultValue `0` */ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package