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(protocol): Double timeout when email rule configured #2934

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

blaine-arcjet
Copy link
Contributor

This checks for a configured email rule while we are translating specified rules to protobuf. If we see an email rule, we double the specified timeout on a call to Decide.

Luckily, the call to client.decide() is where we specify timeoutMs for ConnectRPC, so this timeout adjustment is per-request instead of globally per SDK instance.

Closes #1697

@blaine-arcjet blaine-arcjet requested a review from a team as a code owner January 22, 2025 17:47
Copy link

trunk-io bot commented Jan 22, 2025

😎 Merged successfully - details.

@trunk-io trunk-io bot merged commit 23f9a9e into main Jan 23, 2025
31 checks passed
@trunk-io trunk-io bot deleted the phated/validate-email-timeout branch January 23, 2025 15:24
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.

Adjust timeout when validateEmail configured
2 participants