Remove useless functions and add mount default

This commit is contained in:
Ben Sarmiento
2023-11-12 00:49:30 +01:00
parent fcbbff9ea2
commit 2657eff11c
2 changed files with 4 additions and 11 deletions

View File

@@ -64,12 +64,15 @@ func (z *ZurgConfig) GetOnLibraryUpdate() string {
func (z *ZurgConfig) GetNetworkBufferSize() int {
if z.NetworkBufferSize == 0 {
return 32 * 1024
return 64 * 1024 // 64kb
}
return z.NetworkBufferSize
}
func (z *ZurgConfig) GetMountPoint() string {
if z.MountPoint == "" {
return "/mnt/zurg"
}
return z.MountPoint
}