hazelcast / hazelcast/hazelcast-python-client

Feature Request: Ability to control request timeout > 120 seconds

Offen
#116 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Estimation: XL Priority: Low Source: Community Type: Enhancement
Vorherrschende Sprache
Python
Sterne
116
Forks
78
Ø Merge
10 T. 22 Std.
Gemergte PRs (30 T.)
1

Beschreibung

Currently, if any request takes longer than 120 seconds, the following exception gets raised:
> TimeoutError: Request timed out after 120 seconds.

This appears to be controlled by the `invocation.INVOCATION_TIMEOUT` constant and does not appear tunable. I see that the constructor for `Invocation` takes in a `timeout` parameter that defaults to that constant value, but as far as I can tell there's no way to get a timeout actually passed-in to the `Invocation` object since that's all handled under-the-hood when the client is configured.

I would love it if I could control the timeout on a per-request basis.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.