Resolve race condition issues

This commit is contained in:
Ben Sarmiento
2023-11-04 14:13:24 +01:00
parent b2e957cb4c
commit 4136310622
8 changed files with 136 additions and 26 deletions

View File

@@ -10,6 +10,7 @@ type ZurgConfig struct {
CanRepair bool `yaml:"enable_repair"`
OnLibraryUpdate string `yaml:"on_library_update"`
NetworkBufferSize int `yaml:"network_buffer_size"`
MountPath string `yaml:"mount_path"`
}
func (z *ZurgConfig) GetToken() string {
@@ -55,3 +56,7 @@ func (z *ZurgConfig) GetNetworkBufferSize() int {
}
return z.NetworkBufferSize
}
func (z *ZurgConfig) GetMountPath() string {
return z.MountPath
}