Monorepo for Tangled tangled.org

appview/repo: bump request timeout for fork creation #842

merged opened by oppi.li targeting master from op/tzszvtloukvm

this requires a bare clone; which could take time depending on the size of the repo.

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

Labels

None yet.

assignee

None yet.

Participants 3
AT URI
at://did:plc:qfpnj4og54vl56wngdriaxug/sh.tangled.repo.pull/3m6yslaogvh22
+2
Diff #0
+2
appview/repo/repo.go
··· 1130 1130 } 1131 1131 defer rollback() 1132 1132 1133 + // TODO: this could coordinate better with the knot to recieve a clone status 1133 1134 client, err := rp.oauth.ServiceClient( 1134 1135 r, 1135 1136 oauth.WithService(targetKnot), 1136 1137 oauth.WithLxm(tangled.RepoCreateNSID), 1137 1138 oauth.WithDev(rp.config.Core.Dev), 1139 + oauth.WithTimeout(time.Second*20), // big repos take time to clone 1138 1140 ) 1139 1141 if err != nil { 1140 1142 l.Error("could not create service client", "err", err)

History

1 round 2 comments
sign up or login to add to the discussion
oppi.li submitted #0
1 commit
expand
appview/repo: bump request timeout for fork creation
3/3 success
expand
expand 2 comments

Nice, looks good!

pull request successfully merged