Skip to content

feat: add configurable resolve timeout#84

Merged
nicklasl merged 2 commits intomainfrom
nicklasl/configurable-timeout
Oct 15, 2025
Merged

feat: add configurable resolve timeout#84
nicklasl merged 2 commits intomainfrom
nicklasl/configurable-timeout

Conversation

@nicklasl
Copy link
Member

Summary

  • Adds WithResolveTimeout() method to APIConfig for configurable resolve timeouts
  • Updates README with configuration examples showing aggressive (100ms) and longer timeout options
  • Adds comprehensive tests for the new functionality

Test plan

  • Added unit tests in models_test.go
  • All existing tests pass
  • Demo app tested with 200ms timeout configuration

🤖 Generated with Claude Code

nicklasl and others added 2 commits October 15, 2025 11:48
Adds WithResolveTimeout() method to APIConfig to allow users to configure custom timeouts for resolve requests. This enables both more aggressive timeouts for latency-sensitive applications and longer timeouts when needed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@nicklasl nicklasl merged commit 2d2bccb into main Oct 15, 2025
6 checks passed
@nicklasl nicklasl deleted the nicklasl/configurable-timeout branch October 15, 2025 09:59
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.

2 participants