From 349fb319c43216d8ff03d527c624010a329d39e3 Mon Sep 17 00:00:00 2001 From: Chareice Date: Sun, 4 Aug 2024 17:31:12 +0800 Subject: [PATCH] chore: timeout --- packages/core/server/src/sync-message-manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/server/src/sync-message-manager.ts b/packages/core/server/src/sync-message-manager.ts index 600cf7a377..6b3735baa6 100644 --- a/packages/core/server/src/sync-message-manager.ts +++ b/packages/core/server/src/sync-message-manager.ts @@ -38,7 +38,7 @@ export class SyncMessageManager { return await new Promise((resolve, reject) => { const timer = setTimeout(() => { reject(new Error(`Publish message to ${channel} timeout, message: ${JSON.stringify(message)}`)); - }, 5000); + }, 50000); transaction.afterCommit(async () => { try {