取消MMAP相关选项修改限制

This commit is contained in:
GoEdgeLab
2024-03-30 08:43:38 +08:00
parent 9e9ec24bd2
commit 7d0208dffc
3 changed files with 3 additions and 3 deletions

View File

@@ -70,7 +70,7 @@
<p class="comment">缓存磁盘保留的最小空余空间如果为0表示自动限制目前默认保留5GiB</p>
</td>
</tr>
<tr v-show="moreOptionsVisible && policyType == 'file' && teaIsPlus">
<tr v-show="moreOptionsVisible && policyType == 'file'">
<td class="color-border">启用MMAP</td>
<td>
<checkbox name="enableMMAP" checked="checked"></checkbox>

View File

@@ -46,7 +46,7 @@
<a :href="Tea.url('.update', {cachePolicyId:cachePolicy.id})"><span class="red">请设置一个内存容量作为缓冲区,以提升缓存写入性能。</span></a>
</td>
</tr>
<tr v-if="cachePolicy.options != null && teaIsPlus">
<tr v-if="cachePolicy.options != null">
<td class="color-border">启用MMAP</td>
<td>
<span class="green" v-if="cachePolicy.options.enableMMAP || cachePolicy.options.enableMMAP == null">Y</span>

View File

@@ -77,7 +77,7 @@
<p class="comment">缓存磁盘保留的最小空余空间如果为0表示使用默认目前默认保留5GiB</p>
</td>
</tr>
<tr v-show="teaIsPlus">
<tr>
<td class="color-border">启用MMAP</td>
<td>
<checkbox name="enableMMAP" v-model="cachePolicy.options.enableMMAP"></checkbox>