Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add parameter to trigger_sync and export_configuration for httpx.AsyncClient timeout #18

Merged
merged 8 commits into from
Sep 2, 2022

Conversation

zzstoatzz
Copy link
Contributor

@zzstoatzz zzstoatzz commented Sep 2, 2022

Summary

Issue raised in #14 where POST requests timeout per httpx.AsyncClient's default timeout = 5

This PR exposes a parameter in trigger_sync and export_configuration to set the timeout on the client to some other number of seconds.

I also make a couple edits to docstrings and the README that address #15

Checklist

@zzstoatzz zzstoatzz marked this pull request as ready for review September 2, 2022 16:17
Copy link
Member

@desertaxle desertaxle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@zzstoatzz zzstoatzz merged commit 163e35b into main Sep 2, 2022
@zzstoatzz zzstoatzz deleted the httpx-timeout branch November 16, 2022 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants