chore: timeout

This commit is contained in:
Chareice 2024-08-04 17:31:12 +08:00 committed by mytharcher
parent 77af3154cf
commit 349fb319c4

View File

@ -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 {