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

Fix: Pass args to underlying kmd_request function, including timeout #545

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

jasonpaulos
Copy link
Contributor

#527 introduced a default timeout of 30s for KMD, algod, and indexer requests.

Algod and indexer use kwargs to pass extra arguments to their underlying algod_request & indexer_request functions, including timeout.

Unfortunately KMD had no such functionality, so it's impossible to change the default 30s timeout. This PR adds kwargs to all KMD functions to forward parameters like timeout to kmd_request.

@jasonpaulos jasonpaulos changed the title Pass extra args to underlying kmd_request function, including timeout Fix: Pass args to underlying kmd_request function, including timeout Jun 6, 2024
@jasonpaulos jasonpaulos merged commit 45ea0b1 into develop Jun 6, 2024
14 checks passed
@jasonpaulos jasonpaulos deleted the pass-kmd-timeout branch June 6, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants