Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Re-use Session object not to create a new connection each time #5

@cryoff

Description

@cryoff

When doing a lot of requests to the same endpoint, it is probably helpful for runtime (and also is "cheaper" on OA server side, I guess) not to create a new connection each time but re-use Session object.
Please correct me if I am wrong here.
I also have done minor changes to test that - it seems to work faster (and hopefully "cheaper" on server side), so i can do a small PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions