Skip to content

okhttp connection pool idle timeout should be shortened #51

@AaronAtDuo

Description

@AaronAtDuo

Detailed Description

Since the SDK doesn't specify one, the default idle timeout on the okhttp connection pool is used, which is five minutes. Duo will close idle connections after 1 minute, but it seems like okhttp does not detect this, and this leaves unusable idle connections in its pool for ~4 minutes.

Use Case

This doesn't inherently cause any problems, but it would improve our connection/socket hygiene.

Workarounds

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions