缓存策略移除“容纳Key数量”选项

This commit is contained in:
GoEdgeLab
2023-07-08 18:50:29 +08:00
parent 66fd7f3a86
commit 276f28a33b
5 changed files with 0 additions and 26 deletions

View File

@@ -36,7 +36,6 @@ func (this *CreatePopupAction) RunPost(params struct {
CapacityJSON []byte CapacityJSON []byte
MaxSizeJSON []byte MaxSizeJSON []byte
MaxKeys int64
SyncCompressionCache bool SyncCompressionCache bool
Description string Description string
@@ -97,7 +96,6 @@ func (this *CreatePopupAction) RunPost(params struct {
Name: params.Name, Name: params.Name,
Description: params.Description, Description: params.Description,
CapacityJSON: params.CapacityJSON, CapacityJSON: params.CapacityJSON,
MaxKeys: params.MaxKeys,
MaxSizeJSON: params.MaxSizeJSON, MaxSizeJSON: params.MaxSizeJSON,
Type: params.Type, Type: params.Type,
OptionsJSON: optionsJSON, OptionsJSON: optionsJSON,

View File

@@ -60,7 +60,6 @@ func (this *UpdateAction) RunPost(params struct {
CapacityJSON []byte CapacityJSON []byte
MaxSizeJSON []byte MaxSizeJSON []byte
MaxKeys int64
SyncCompressionCache bool SyncCompressionCache bool
Description string Description string
@@ -143,7 +142,6 @@ func (this *UpdateAction) RunPost(params struct {
Name: params.Name, Name: params.Name,
Description: params.Description, Description: params.Description,
CapacityJSON: params.CapacityJSON, CapacityJSON: params.CapacityJSON,
MaxKeys: params.MaxKeys,
MaxSizeJSON: params.MaxSizeJSON, MaxSizeJSON: params.MaxSizeJSON,
Type: params.Type, Type: params.Type,
OptionsJSON: optionsJSON, OptionsJSON: optionsJSON,

View File

@@ -77,13 +77,6 @@
<td colspan="2"><more-options-indicator></more-options-indicator></td> <td colspan="2"><more-options-indicator></more-options-indicator></td>
</tr> </tr>
<tbody v-show="moreOptionsVisible"> <tbody v-show="moreOptionsVisible">
<tr>
<td>容纳Key数量</td>
<td>
<input type="text" name="maxKeys" maxlength="10" style="width:10em"/>
<p class="comment">可以容纳多少数量的Key0表示不限制。</p>
</td>
</tr>
<tr> <tr>
<td>同步写入压缩缓存</td> <td>同步写入压缩缓存</td>
<td> <td>

View File

@@ -72,14 +72,6 @@
<p class="comment">允许缓存的单个内容最大尺寸如果为0表示没有限制。</p> <p class="comment">允许缓存的单个内容最大尺寸如果为0表示没有限制。</p>
</td> </td>
</tr> </tr>
<tr>
<td>容纳Key数量</td>
<td>
<span v-if="cachePolicy.maxKeys > 0">{{cachePolicy.maxKeys}}</span>
<span v-else>不限</span>
<p class="comment">可以容纳多少数量的Key0表示不限制。</p>
</td>
</tr>
<tr> <tr>
<td>同步写入压缩缓存</td> <td>同步写入压缩缓存</td>
<td> <td>

View File

@@ -84,13 +84,6 @@
<td colspan="2"><more-options-indicator></more-options-indicator></td> <td colspan="2"><more-options-indicator></more-options-indicator></td>
</tr> </tr>
<tbody v-show="moreOptionsVisible"> <tbody v-show="moreOptionsVisible">
<tr>
<td>容纳Key数量</td>
<td>
<input type="text" name="maxKeys" maxlength="10" style="width:10em" v-model="cachePolicy.maxKeys"/>
<p class="comment">可以容纳多少数量的Key0表示不限制。</p>
</td>
</tr>
<tr> <tr>
<td>同步写入压缩缓存</td> <td>同步写入压缩缓存</td>
<td> <td>