From 36685bea67871a693518a947eb0e067581056c9f Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Thu, 2 Apr 2026 05:05:16 +0100 Subject: [PATCH] appview/repo: do not retry language detection override the default indigo xrpc client here to use one without retry logic. Signed-off-by: oppiliappan --- appview/repo/index.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appview/repo/index.go b/appview/repo/index.go index d0228878..8d93117d 100644 --- a/appview/repo/index.go +++ b/appview/repo/index.go @@ -164,7 +164,10 @@ func (rp *Repo) getLanguageInfo( if err != nil || langs == nil { // non-fatal, fetch langs from ks via XRPC - xrpcc := &indigoxrpc.Client{Host: rp.config.KnotMirror.Url} + xrpcc := &indigoxrpc.Client{ + Host: rp.config.KnotMirror.Url, + Client: http.DefaultClient, + } ls, err := tangled.GitTempListLanguages(ctx, xrpcc, currentRef, repo.RepoAt().String()) if err != nil { return nil, fmt.Errorf("calling knotmirror git.listLanguages: %w", err) -- 2.51.2