Skip to content

Commit 190b374

Browse files
feat(toggle): cache toggles until disabled by user
resolves #6613
1 parent 1d6f9ed commit 190b374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/toggle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ var toggleCmd = &cobra.Command{
5858
newToggles = append(newToggles, segment)
5959
}
6060

61-
env.Session().Set(cache.TOGGLECACHE, strings.Join(newToggles, ","), cache.ONEDAY)
61+
env.Session().Set(cache.TOGGLECACHE, strings.Join(newToggles, ","), cache.INFINITE)
6262
},
6363
}
6464

0 commit comments

Comments
 (0)