-
Notifications
You must be signed in to change notification settings - Fork 565
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
freeswitch: Several improvements to socket management
* add exponential backoff behavior when reconnecting to a FreeSWITCH which is down (1/5/10/30/90 second retries, counting x20 each) * add monitoring for the ESL command activity of sockets. Specifically, the module now remembers the last ESL command and will reap sockets which both do not have event subscriptions and have not run an ESL command in the last 86400 seconds. * freeswitch_esl() will now return faster in case the connection is down (the lock might still be grabbed by the timer, reconnecting...), thus minimizing the risk of a service outage. * improved handling for connect error cases (fd management)
- Loading branch information
1 parent
01b5fdd
commit 3e7231c
Showing
5 changed files
with
92 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters