Describe the bug
Different HTTP timeouts across the codebase:
- plugin/http.go:13: 10 seconds
- plugins/embed.go:25,56: 10 seconds
- view/html.go:300: 5 seconds (image fetch)
- cli/install.go:25: 30 seconds
- main.go:67: 30 seconds (update check)
No centralized HTTP client configuration. Each module creates its own client with different settings.
To reproduce
N/A — inconsistency issue.
Expected behavior
Create a shared HTTP client factory with configurable defaults:
func NewHTTPClient(opts ...Option) *http.Client
Or at minimum, extract timeout constants to a shared config.
Describe the bug
Different HTTP timeouts across the codebase:
No centralized HTTP client configuration. Each module creates its own client with different settings.
To reproduce
N/A — inconsistency issue.
Expected behavior
Create a shared HTTP client factory with configurable defaults:
Or at minimum, extract timeout constants to a shared config.