Skip to content

Commit

Permalink
- Fix Magic Numbers in TelnyxClient.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacakakpo1 committed Oct 28, 2024
1 parent 9f7a9cb commit 6886d77
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ class TelnyxClient(
const val RETRY_REGISTER_TIME = 3
const val RETRY_CONNECT_TIME = 3
const val GATEWAY_RESPONSE_DELAY: Long = 3000
const val RECONNECT_DELAY: Long = 1000

}

private var credentialSessionConfig: CredentialConfig? = null
Expand Down Expand Up @@ -349,7 +351,7 @@ class TelnyxClient(
runBlocking { reconnectToSocket() }
reconnecting = false
}
},1000)
}, RECONNECT_DELAY)
}
}

Expand Down

0 comments on commit 6886d77

Please sign in to comment.