You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In contrast with version 1 the actual version 2 is not providing timeout to to calls.
python Requests is used and in their dosumentation is written this:
Timeouts Most requests to external servers should have a timeout attached, in case the server is not responding in a timely manner. By default, requests do not time out unless a timeout value is set explicitly. Without a timeout, your code may hang for minutes or more.
In some cases - like network od DNS problems the library calls hangs forever.
I find this serious issue.
The text was updated successfully, but these errors were encountered:
I would appreciate it if the timeout could be configured for each query. For example, I can't stop the client application for 300 seconds when trying to create a payment link.
@dark-light-cz You're right that it should be configurable. It will not be per request though, it will be configured when initializing the payments object.
It will be available on pypi with the next release after we merge some more stuff in.
In contrast with version 1 the actual version 2 is not providing timeout to to calls.
python Requests is used and in their dosumentation is written this:
Timeouts Most requests to external servers should have a timeout attached, in case the server is not responding in a timely manner. By default, requests do not time out unless a timeout value is set explicitly. Without a timeout, your code may hang for minutes or more.
In some cases - like network od DNS problems the library calls hangs forever.
I find this serious issue.
The text was updated successfully, but these errors were encountered: