valiot / pygqlc

Python GraphQL Client - PyGQLC
MIT License
12 stars 4 forks source link

Post Timeout configurable through Env with 60 segs as default #22

Closed alde103 closed 2 years ago

alde103 commented 2 years ago

Description

The request library should use a timeout for every request, otherwise there is a possibility that the process will wait indefinitely for a response from a server.

Therefore, this new feature adds the ability to configure the post_timeout through environment variables, having 60 seconds as default.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

tests/pygqlc/test_environments.py

2022-01-24_21-33

Checklist: