Skip to content

Commit

Permalink
Drop the comment above by making this requirement explicit instead
Browse files Browse the repository at this point in the history
Co-authored-by: Quintin <[email protected]>
  • Loading branch information
ricardopereira and Quintin authored Jun 19, 2020
1 parent 25a2765 commit 17a1adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Spec/RealtimeClientConnection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2841,7 +2841,7 @@ class RealtimeClientConnection: QuickSpec {
it("uses a new connection") {
let options = AblyTests.commonAppSetup()
// We want this to be > than the sum of customTtlInterval and customIdleInterval
options.disconnectedRetryTimeout = 5.0
options.disconnectedRetryTimeout = 5.0 + customTtlInterval + customIdleInterval
client = AblyTests.newRealtime(options)
client.internal.shouldImmediatelyReconnect = false
client.connect()
Expand Down

0 comments on commit 17a1adf

Please sign in to comment.