mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-05-27 06:55:18 +08:00
优化高速硬盘下的缓存
This commit is contained in:
@@ -66,6 +66,10 @@ func DiskIsFast() bool {
|
||||
return DiskSpeed == SpeedExtremelyFast || DiskSpeed == SpeedFast
|
||||
}
|
||||
|
||||
func DiskIsExtremelyFast() bool {
|
||||
return DiskSpeed == SpeedExtremelyFast
|
||||
}
|
||||
|
||||
var countWrites int32 = 0
|
||||
|
||||
func WriteReady() bool {
|
||||
|
||||
Reference in New Issue
Block a user