From fc6836999cde05ed7c26109995397be3edb41f2e Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 4 Sep 2024 12:35:38 -0400 Subject: [PATCH] make the timeouts comically short --- dist/index.js | 8 ++++---- pnpm-lock.yaml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dist/index.js b/dist/index.js index 09597ca..44792e4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -96403,7 +96403,7 @@ const external_node_dns_promises_namespaceObject = __WEBPACK_EXTERNAL_createRequ var cache = __nccwpck_require__(6878); ;// CONCATENATED MODULE: external "node:child_process" const external_node_child_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:child_process"); -;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@4d0e2c8ed44e4347573f7cd88fb9f51a3f688b1c_hjqxpokvb4p3rcxhd2fluho574/node_modules/detsys-ts/dist/index.js +;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@e8e2112b827010190c298bcc2ea48845fab8c152_7zu4grzejqt6onoxzro546c3ra/node_modules/detsys-ts/dist/index.js var __defProp = Object.defineProperty; var __export = (target, all) => { for (var name in all) @@ -96877,7 +96877,7 @@ var ALLOWED_SUFFIXES = [ ]; var DEFAULT_IDS_HOST = "https://install.determinate.systems"; var LOOKUP = process.env["IDS_LOOKUP"] ?? DEFAULT_LOOKUP; -var DEFAULT_TIMEOUT = 1e4; +var DEFAULT_TIMEOUT = 5; var IdsHost = class { constructor(idsProjectName, diagnosticsSuffix, runtimeDiagnosticsUrl) { this.idsProjectName = idsProjectName; @@ -97288,8 +97288,8 @@ var STATE_KEY_NIX_NOT_FOUND = "detsys_action_nix_not_found"; var STATE_NOT_FOUND = "not-found"; var STATE_KEY_CROSS_PHASE_ID = "detsys_cross_phase_id"; var STATE_BACKTRACE_START_TIMESTAMP = "detsys_backtrace_start_timestamp"; -var DIAGNOSTIC_ENDPOINT_TIMEOUT_MS = 1e3; -var CHECK_IN_ENDPOINT_TIMEOUT_MS = 1e3; +var DIAGNOSTIC_ENDPOINT_TIMEOUT_MS = 5; +var CHECK_IN_ENDPOINT_TIMEOUT_MS = 5; var DetSysAction = class { determineExecutionPhase() { const currentPhase = core.getState(STATE_KEY_EXECUTION_PHASE); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 40a0ad2..77c056b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,7 +16,7 @@ dependencies: version: 5.1.1 detsys-ts: specifier: github:DeterminateSystems/detsys-ts#retry-streams - version: github.com/DeterminateSystems/detsys-ts/4d0e2c8ed44e4347573f7cd88fb9f51a3f688b1c + version: github.com/DeterminateSystems/detsys-ts/e8e2112b827010190c298bcc2ea48845fab8c152 got: specifier: ^14.4.2 version: 14.4.2 @@ -5650,10 +5650,10 @@ packages: engines: { node: ">=10" } dev: true - github.com/DeterminateSystems/detsys-ts/4d0e2c8ed44e4347573f7cd88fb9f51a3f688b1c: + github.com/DeterminateSystems/detsys-ts/e8e2112b827010190c298bcc2ea48845fab8c152: resolution: { - tarball: https://codeload.github.com/DeterminateSystems/detsys-ts/tar.gz/4d0e2c8ed44e4347573f7cd88fb9f51a3f688b1c, + tarball: https://codeload.github.com/DeterminateSystems/detsys-ts/tar.gz/e8e2112b827010190c298bcc2ea48845fab8c152, } name: detsys-ts version: 1.0.0