Manager: enable Shaman by default, except on Windows
This commit is contained in:
parent
e70dad2177
commit
7214a73e19
@ -1,6 +1,7 @@
|
|||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"runtime"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
shaman_config "git.blender.org/flamenco/pkg/shaman/config"
|
shaman_config "git.blender.org/flamenco/pkg/shaman/config"
|
||||||
@ -22,7 +23,8 @@ var defaultConfig = Conf{
|
|||||||
StoragePath: "./flamenco-storage",
|
StoragePath: "./flamenco-storage",
|
||||||
|
|
||||||
Shaman: shaman_config.Config{
|
Shaman: shaman_config.Config{
|
||||||
Enabled: false,
|
// Enable Shaman by default, except on Windows where symlinks are still tricky.
|
||||||
|
Enabled: runtime.GOOS != "windows",
|
||||||
GarbageCollect: shaman_config.GarbageCollect{
|
GarbageCollect: shaman_config.GarbageCollect{
|
||||||
Period: 24 * time.Hour,
|
Period: 24 * time.Hour,
|
||||||
MaxAge: 31 * 24 * time.Hour,
|
MaxAge: 31 * 24 * time.Hour,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user