From c344db9d5ea800153a95e98d8688cd82eeb60c0a Mon Sep 17 00:00:00 2001 From: LinkLeong Date: Tue, 21 Mar 2023 06:20:22 +0000 Subject: [PATCH] Update cache model --- pkg/utils/httper/drive.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/utils/httper/drive.go b/pkg/utils/httper/drive.go index 80817bc..9466912 100644 --- a/pkg/utils/httper/drive.go +++ b/pkg/utils/httper/drive.go @@ -82,6 +82,7 @@ func Mount(mountPoint string, fs string) error { "mountPoint": mountPoint, "fs": fs, "mountOpt": `{"AllowOther": true}`, + "vfsOpt": `{"CacheMode": 3}`, }).Post("/mount/mount") if err != nil { return err