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

Changed files
+2
appview
repo
+2
appview/repo/repo.go
···
defer rollback()
+
// TODO: this could coordinate better with the knot to recieve a clone status
client, err := rp.oauth.ServiceClient(
r,
oauth.WithService(targetKnot),
oauth.WithLxm(tangled.RepoCreateNSID),
oauth.WithDev(rp.config.Core.Dev),
+
oauth.WithTimeout(time.Second*20), // big repos take time to clone
if err != nil {
l.Error("could not create service client", "err", err)