feat(chat): improve media handling and caching for user messages (#81)

This commit is contained in:
Haze
2026-02-14 00:21:04 +08:00
committed by GitHub
Unverified
parent 051803869d
commit cf8091d81f
7 changed files with 280 additions and 36 deletions

View File

@@ -656,7 +656,7 @@ export class GatewayManager extends EventEmitter {
/**
* Wait for Gateway to be ready by checking if the port is accepting connections
*/
private async waitForReady(retries = 120, interval = 1000): Promise<void> {
private async waitForReady(retries = 600, interval = 1000): Promise<void> {
for (let i = 0; i < retries; i++) {
// Early exit if the gateway process has already exited
if (this.process && (this.process.exitCode !== null || this.process.signalCode !== null)) {