You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, the number of retries is hardcoded (equal to 15):
async connect() {
let numTries = 0
const maxTries = 15
await retryInterval(maxTries, 1000, async () => {
numTries++
this.log.info(`Attempting to connect to AltUnity server. This is attempt ${numTries}/${maxTries}`)
try {
await this.conn.connect()
} catch (err: any) {
throw new Error(`Could not connect to the AltUnity server. Original error was: ${err.message}`)
}
})
this.log.info(`Connection to AltUnity server established`)
}
It might be very helpful to have it dynamic and pass using capability.
The text was updated successfully, but these errors were encountered:
Actually, the number of retries is hardcoded (equal to 15):
It might be very helpful to have it dynamic and pass using capability.
The text was updated successfully, but these errors were encountered: