Skip to content

Unable to set http_request_timeout #75

@ghost

Description

🐛 Bug Report

Refreshing a protection source takes a lot of time so I need to momentarily increase the request timeout.
When I set it using the variable in CohesityClient.config it doesn't have any effect.

To Reproduce

(Write your steps here:)

  1. Instantiate a client (named c here)
  2. Edit the variable c.config.http_request_timeout
  3. Make a call that takes a lot of time

Expected behavior

The timeout used in the lib should be the one I set in the variable

Actual Behavior

The call fails with a TimeoutError and the timeout value is shown as being 60
Note that I checked if editing the default value has an impact and it is the case, it seems it is only about editing the value after object creation.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions