Monorepo for Tangled
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

appview/pulls: bump service auth client timeout for merges

large repos like witchsky seem to require a large request window. the
real issue here is the transaction process: we should use the knotstream
to identify successful/failed merges, and not depend entirely on the
request timeout.

additionaly: investigate the root cause of slow merges.

Signed-off-by: oppiliappan <me@oppi.li>

+1
+1
appview/pulls/pulls.go
··· 2370 2370 oauth.WithService(f.Knot), 2371 2371 oauth.WithLxm(tangled.RepoMergeNSID), 2372 2372 oauth.WithDev(s.config.Core.Dev), 2373 + oauth.WithTimeout(time.Second*20), // merge is quite slow on large repos, like witchsky 2373 2374 ) 2374 2375 if err != nil { 2375 2376 l.Error("failed to connect to knot server", "err", err, "knot", f.Knot)