From d11334c0999efb670a8eab93527a50f644fdfceb Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Fri, 23 Jan 2026 15:59:12 -1000 Subject: Fix high priority issues from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Default password: Fatal error in production if DEFAULT_PASS not set - API timeouts: Reduce from 30s to 15s (4 APIs × 15s < 60s global) - Trello lists: Log warning when list fetch fails instead of silent ignore Co-Authored-By: Claude Opus 4.5 --- internal/api/plantoeat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/plantoeat.go') diff --git a/internal/api/plantoeat.go b/internal/api/plantoeat.go index 6fe640d..1dae246 100644 --- a/internal/api/plantoeat.go +++ b/internal/api/plantoeat.go @@ -26,7 +26,7 @@ func NewPlanToEatClient(apiKey string) *PlanToEatClient { return &PlanToEatClient{ apiKey: apiKey, httpClient: &http.Client{ - Timeout: 30 * time.Second, + Timeout: 15 * time.Second, }, } } -- cgit v1.2.3