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
··· 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)