1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 14:08:06 +08:00

feat: 增加证书续签的超时时间 (#2869)

This commit is contained in:
zhengkunwang 2023-11-09 21:58:07 +08:00 committed by GitHub
parent 70c0602970
commit f60500791a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ export const ApplySSL = (req: Website.SSLApply) => {
};
export const RenewSSL = (req: Website.SSLRenew) => {
return http.post<any>(`/websites/ssl/renew`, req);
return http.post<any>(`/websites/ssl/renew`, req, TimeoutEnum.T_10M);
};
export const UpdateSSL = (req: Website.SSLUpdate) => {
@ -129,7 +129,7 @@ export const UpdateSSL = (req: Website.SSLUpdate) => {
};
export const GetDnsResolve = (req: Website.DNSResolveReq) => {
return http.post<Website.DNSResolve[]>(`/websites/ssl/resolve`, req, TimeoutEnum.T_60S);
return http.post<Website.DNSResolve[]>(`/websites/ssl/resolve`, req, TimeoutEnum.T_5M);
};
export const GetHTTPSConfig = (id: number) => {