mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	缓存策略移除“容纳Key数量”选项
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
@@ -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,
 | 
			
		||||
 
 | 
			
		||||
@@ -77,13 +77,6 @@
 | 
			
		||||
			<td colspan="2"><more-options-indicator></more-options-indicator></td>
 | 
			
		||||
		</tr>
 | 
			
		||||
		<tbody v-show="moreOptionsVisible">
 | 
			
		||||
			<tr>
 | 
			
		||||
				<td>容纳Key数量</td>
 | 
			
		||||
				<td>
 | 
			
		||||
					<input type="text" name="maxKeys" maxlength="10" style="width:10em"/>
 | 
			
		||||
					<p class="comment">可以容纳多少数量的Key,0表示不限制。</p>
 | 
			
		||||
				</td>
 | 
			
		||||
			</tr>
 | 
			
		||||
            <tr>
 | 
			
		||||
                <td>同步写入压缩缓存</td>
 | 
			
		||||
                <td>
 | 
			
		||||
 
 | 
			
		||||
@@ -72,14 +72,6 @@
 | 
			
		||||
                <p class="comment">允许缓存的单个内容最大尺寸,如果为0表示没有限制。</p>
 | 
			
		||||
            </td>
 | 
			
		||||
        </tr>
 | 
			
		||||
        <tr>
 | 
			
		||||
            <td>容纳Key数量</td>
 | 
			
		||||
            <td>
 | 
			
		||||
                <span v-if="cachePolicy.maxKeys > 0">{{cachePolicy.maxKeys}}</span>
 | 
			
		||||
                <span v-else>不限</span>
 | 
			
		||||
                <p class="comment">可以容纳多少数量的Key,0表示不限制。</p>
 | 
			
		||||
            </td>
 | 
			
		||||
        </tr>
 | 
			
		||||
        <tr>
 | 
			
		||||
            <td>同步写入压缩缓存</td>
 | 
			
		||||
            <td>
 | 
			
		||||
 
 | 
			
		||||
@@ -84,13 +84,6 @@
 | 
			
		||||
				<td colspan="2"><more-options-indicator></more-options-indicator></td>
 | 
			
		||||
			</tr>
 | 
			
		||||
			<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">可以容纳多少数量的Key,0表示不限制。</p>
 | 
			
		||||
					</td>
 | 
			
		||||
				</tr>
 | 
			
		||||
                <tr>
 | 
			
		||||
                    <td>同步写入压缩缓存</td>
 | 
			
		||||
                    <td>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user