Skip to content

Commit 774b90f

Browse files
committed
auto reconnect is the default
1 parent fbc7dd9 commit 774b90f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ Copyright © Tiny Speck, Inc. MIT License; see LICENSE for further details.
3232

3333
1. Better/any timeouts on initial websocket connection
3434
2. Better/any timeouts on API calls
35+
3. Document the connection options, etc

src/client.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Client extends EventEmitter
1515

1616
host: 'api.slack.com'
1717

18-
constructor: (@token, @autoReconnect=false) ->
18+
constructor: (@token, @autoReconnect=true) ->
1919
@authenticated = false
2020
@connected = false
2121

0 commit comments

Comments
 (0)