From 7eb0ab342a0d88ec803bc2a4e23daf3ceea27327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Sat, 8 Jul 2023 18:50:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=93=E5=AD=98=E7=AD=96=E7=95=A5=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E2=80=9C=E5=AE=B9=E7=BA=B3Key=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E2=80=9D=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/servers/components/cache/createPopup.go | 2 -- .../actions/default/servers/components/cache/update.go | 2 -- .../@default/servers/components/cache/createPopup.html | 7 ------- web/views/@default/servers/components/cache/policy.html | 8 -------- web/views/@default/servers/components/cache/update.html | 7 ------- 5 files changed, 26 deletions(-) diff --git a/internal/web/actions/default/servers/components/cache/createPopup.go b/internal/web/actions/default/servers/components/cache/createPopup.go index ec26f4f9..ba9bf7a6 100644 --- a/internal/web/actions/default/servers/components/cache/createPopup.go +++ b/internal/web/actions/default/servers/components/cache/createPopup.go @@ -36,7 +36,6 @@ func (this *CreatePopupAction) RunPost(params struct { CapacityJSON []byte MaxSizeJSON []byte - MaxKeys int64 SyncCompressionCache bool Description string @@ -97,7 +96,6 @@ func (this *CreatePopupAction) RunPost(params struct { Name: params.Name, Description: params.Description, CapacityJSON: params.CapacityJSON, - MaxKeys: params.MaxKeys, MaxSizeJSON: params.MaxSizeJSON, Type: params.Type, OptionsJSON: optionsJSON, diff --git a/internal/web/actions/default/servers/components/cache/update.go b/internal/web/actions/default/servers/components/cache/update.go index 6cf5e995..9a3a641c 100644 --- a/internal/web/actions/default/servers/components/cache/update.go +++ b/internal/web/actions/default/servers/components/cache/update.go @@ -60,7 +60,6 @@ func (this *UpdateAction) RunPost(params struct { CapacityJSON []byte MaxSizeJSON []byte - MaxKeys int64 SyncCompressionCache bool Description string @@ -143,7 +142,6 @@ func (this *UpdateAction) RunPost(params struct { Name: params.Name, Description: params.Description, CapacityJSON: params.CapacityJSON, - MaxKeys: params.MaxKeys, MaxSizeJSON: params.MaxSizeJSON, Type: params.Type, OptionsJSON: optionsJSON, diff --git a/web/views/@default/servers/components/cache/createPopup.html b/web/views/@default/servers/components/cache/createPopup.html index 1d7673f1..74d62dd2 100644 --- a/web/views/@default/servers/components/cache/createPopup.html +++ b/web/views/@default/servers/components/cache/createPopup.html @@ -77,13 +77,6 @@ - - 容纳Key数量 - - -

可以容纳多少数量的Key,0表示不限制。

- - 同步写入压缩缓存 diff --git a/web/views/@default/servers/components/cache/policy.html b/web/views/@default/servers/components/cache/policy.html index fe9c343e..bdf4b6cd 100644 --- a/web/views/@default/servers/components/cache/policy.html +++ b/web/views/@default/servers/components/cache/policy.html @@ -72,14 +72,6 @@

允许缓存的单个内容最大尺寸,如果为0表示没有限制。

- - 容纳Key数量 - - {{cachePolicy.maxKeys}} - 不限 -

可以容纳多少数量的Key,0表示不限制。

- - 同步写入压缩缓存 diff --git a/web/views/@default/servers/components/cache/update.html b/web/views/@default/servers/components/cache/update.html index 32672d49..26643375 100644 --- a/web/views/@default/servers/components/cache/update.html +++ b/web/views/@default/servers/components/cache/update.html @@ -84,13 +84,6 @@ - - 容纳Key数量 - - -

可以容纳多少数量的Key,0表示不限制。

- - 同步写入压缩缓存