缓存策略增加预热超时时间设置(默认20分钟)

This commit is contained in:
刘祥超
2023-08-06 17:06:39 +08:00
parent 9cc9c4e2b3
commit 6d8156b10b
4 changed files with 165 additions and 137 deletions

View File

@@ -55,6 +55,7 @@ message CreateHTTPCachePolicyRequest {
string type = 7;
bytes optionsJSON = 8;
bool syncCompressionCache = 9;
bytes fetchTimeoutJSON = 10; // 预热超时时间
}
message CreateHTTPCachePolicyResponse {
@@ -72,6 +73,7 @@ message UpdateHTTPCachePolicyRequest {
string type = 8;
bytes optionsJSON = 9;
bool syncCompressionCache = 10;
bytes fetchTimeoutJSON = 11; // 预热超时时间
}
// 删除缓存策略