mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-04 05:00:25 +08:00
取消MMAP相关选项修改限制
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user