Skip to content

Commit

Permalink
Try reopen in 5s
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolmello committed Dec 1, 2021
1 parent 9a7fb53 commit cb14a1c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/@rocket.chat+sdk+1.1.0-mobile.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/@rocket.chat/sdk/lib/drivers/ddp.ts b/node_modules/@rocket.chat/sdk/lib/drivers/ddp.ts
index d069a01..2296df0 100644
--- a/node_modules/@rocket.chat/sdk/lib/drivers/ddp.ts
+++ b/node_modules/@rocket.chat/sdk/lib/drivers/ddp.ts
@@ -68,7 +68,7 @@ export class Socket extends EventEmitter {
this.config = {
host: options.host || 'http://localhost:3000',
useSsl: options.useSsl || false,
- reopen: options.reopen || 10000,
+ reopen: options.reopen || 5000,
ping: options.timeout || 10000
}

0 comments on commit cb14a1c

Please sign in to comment.