Skip to content

Commit

Permalink
customizations for our needs
Browse files Browse the repository at this point in the history
  • Loading branch information
acmeguy committed Apr 28, 2024
1 parent 726177f commit f3a6d01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/GsClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ export class GsClient {
await this.subscribe(this.client);
} catch (error) {
log.error(error);
log.debug(`Retrying in ${this.env.DELAY_BEFORE_RECONNECT} milliseconds`);
setTimeout(() => initiate(true), this.env.DELAY_BEFORE_RECONNECT);
}
};

Expand Down

0 comments on commit f3a6d01

Please sign in to comment.