Manager: enable Shaman by default, except on Windows

This commit is contained in:
Sybren A. Stüvel 2022-04-01 13:46:51 +02:00
parent e70dad2177
commit 7214a73e19

View File

@ -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,