缓存策略默认最大内容长度从32M改成256M,预热超时时间从10秒改成60秒

This commit is contained in:
刘祥超
2021-01-11 11:50:44 +08:00
parent e70ba457b2
commit 5e99f7b58d
4 changed files with 34 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
package teaconst
const (
Version = "0.0.7.1"
Version = "0.0.8"
ProductName = "Edge Admin"
ProcessName = "edge-admin"

View File

@@ -74,7 +74,7 @@ func (this *CleanAction) RunPost(params struct {
msg := &messageconfigs.CleanCacheMessage{
CachePolicyJSON: cachePolicyJSON,
}
results, err := nodeutils.SendMessageToCluster(this.AdminContext(), params.ClusterId, messageconfigs.MessageCodeCleanCache, msg, 10)
results, err := nodeutils.SendMessageToCluster(this.AdminContext(), params.ClusterId, messageconfigs.MessageCodeCleanCache, msg, 60)
if err != nil {
this.ErrorPage(err)
return

View File

@@ -42,7 +42,7 @@
<tr>
<td>最大内容长度</td>
<td>
<size-capacity-box :v-name="'maxSizeJSON'" :v-count="32" :v-unit="'mb'"></size-capacity-box>
<size-capacity-box :v-name="'maxSizeJSON'" :v-count="256" :v-unit="'mb'"></size-capacity-box>
<p class="comment">允许缓存的最大内容长度如果为0表示没有限制。</p>
</td>
</tr>

View File

@@ -1,5 +1,4 @@
{$layout}
{$template "policy_menu"}
<h3>选择集群</h3>