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

Allow configuration of internal parameters #947

Merged
merged 4 commits into from
May 7, 2024

Conversation

falvaradorodriguez
Copy link
Contributor

Closes #784

To be considered:

@falvaradorodriguez falvaradorodriguez requested a review from a team as a code owner April 30, 2024 20:03
@@ -24,7 +25,7 @@ def __init__(
network: EthereumNetwork,
ethereum_client: Optional[EthereumClient] = None,
base_url: Optional[str] = None,
request_timeout: int = 10,
request_timeout: int = int(os.environ.get("SAFE_BASE_API_REQUEST_TIMEOUT", 10)),
Copy link
Member

Choose a reason for hiding this comment

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

I think that would be better define this timeout in the childs, intead here.
I mean something like SAFE_TRANSACTION_SERVICE_REQUEST_TIMEOUT, and the same for the relay, but not sure if will be continued.

Copy link
Member

Choose a reason for hiding this comment

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

Relay is discontinued, we should remove it. But I agree on defining this variable for every child

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added in TransactionServiceApi. RelayServiceApi will be removed in this PR.

@Uxio0
Copy link
Member

Uxio0 commented May 3, 2024

@falvaradorodriguez Could you add documentation for this when it's merged?

@falvaradorodriguez
Copy link
Contributor Author

@falvaradorodriguez Could you add documentation for this when it's merged?

@Uxio0 updated here

@falvaradorodriguez falvaradorodriguez merged commit e9acdf2 into main May 7, 2024
7 checks passed
@falvaradorodriguez falvaradorodriguez deleted the allow-configuration-internal-parameters branch May 7, 2024 09:05
@github-actions github-actions bot locked and limited conversation to collaborators May 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow configuration of internal parameters
3 participants