mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-13 03:40:27 +08:00
缓存策略默认最大内容长度从32M改成256M,预热超时时间从10秒改成60秒
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
package teaconst
|
package teaconst
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Version = "0.0.7.1"
|
Version = "0.0.8"
|
||||||
|
|
||||||
ProductName = "Edge Admin"
|
ProductName = "Edge Admin"
|
||||||
ProcessName = "edge-admin"
|
ProcessName = "edge-admin"
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ func (this *CleanAction) RunPost(params struct {
|
|||||||
msg := &messageconfigs.CleanCacheMessage{
|
msg := &messageconfigs.CleanCacheMessage{
|
||||||
CachePolicyJSON: cachePolicyJSON,
|
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 {
|
if err != nil {
|
||||||
this.ErrorPage(err)
|
this.ErrorPage(err)
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>最大内容长度</td>
|
<td>最大内容长度</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>
|
<p class="comment">允许缓存的最大内容长度,如果为0表示没有限制。</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{$layout}
|
{$layout}
|
||||||
|
|
||||||
{$template "policy_menu"}
|
{$template "policy_menu"}
|
||||||
|
|
||||||
<h3>选择集群</h3>
|
<h3>选择集群</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user