Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure keep alive duration for okhttp connection pool to 1 minute.
The signal http server supports http keep alive, but closes idle connections after 1 minute. The default OkHttp connection pool will keep idle connections in the pool for 5 minutes and doesn't notice it when the server closes connections. As currently the automatic okhttp retries are disabled, reusing such a stale connection will be fatal. Issue is especially severe for incoming calls, which fail because the request to retrieve the turn servers fails and isn't retried: #10787
- Loading branch information