mirror of https://github.com/openclaw/openclaw.git
fix(discord): restore gateway reconnect maxAttempts to 50
This commit is contained in:
parent
5f0debdfb2
commit
e55431bf84
|
|
@ -63,7 +63,7 @@ function createDiscordGatewayPlugin(params: {
|
|||
const intents = resolveDiscordGatewayIntents(params.discordConfig?.intents);
|
||||
const proxy = params.discordConfig?.proxy?.trim();
|
||||
const options = {
|
||||
reconnect: { maxAttempts: Number.POSITIVE_INFINITY },
|
||||
reconnect: { maxAttempts: 50 },
|
||||
intents,
|
||||
autoInteractions: true,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue