From 8fe767a4e3a94c1ee2f4f3b8bd2e46e2f3a6b25c Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Thu, 28 Nov 2024 20:19:37 +0100 Subject: [PATCH] Feature/increase default request timeout (#4075) * Increase default request timeout * Update changelog --- CHANGELOG.md | 1 + apps/api/src/services/configuration/configuration.service.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f37d4f5f3..2ac35a53c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved the style of the symbol search component - Extended the users table in the admin control panel +- Increased the default request timeout (`REQUEST_TIMEOUT`) ## 2.124.1 - 2024-11-25 diff --git a/apps/api/src/services/configuration/configuration.service.ts b/apps/api/src/services/configuration/configuration.service.ts index acde7d823..3dfe5d5c5 100644 --- a/apps/api/src/services/configuration/configuration.service.ts +++ b/apps/api/src/services/configuration/configuration.service.ts @@ -70,7 +70,7 @@ export class ConfigurationService { REDIS_HOST: str({ default: 'localhost' }), REDIS_PASSWORD: str({ default: '' }), REDIS_PORT: port({ default: 6379 }), - REQUEST_TIMEOUT: num({ default: 2000 }), + REQUEST_TIMEOUT: num({ default: ms('3 seconds') }), ROOT_URL: url({ default: DEFAULT_ROOT_URL }), STRIPE_PUBLIC_KEY: str({ default: '' }), STRIPE_SECRET_KEY: str({ default: '' }),