From cd97d91f79bfb0784eb6594b545d204b37471b7e Mon Sep 17 00:00:00 2001 From: John Livingston Date: Wed, 14 Feb 2024 09:29:33 +0100 Subject: [PATCH] Replaced a sync file operation by an async one, to avoid blocking the server. --- CHANGELOG.md | 1 + server/lib/prosody/config.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e47d9cb..d4aa1856 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ ### Minor changes and fixes * Fix ConverseJS build: translations were missing, and only english was available. +* Replaced a sync file operation by an async one, to avoid blocking the server. ## 8.2.1 diff --git a/server/lib/prosody/config.ts b/server/lib/prosody/config.ts index 580eabbe..2ff81527 100644 --- a/server/lib/prosody/config.ts +++ b/server/lib/prosody/config.ts @@ -76,7 +76,7 @@ async function getProsodyFilePaths (options: RegisterServerOptions): Promise