Skip to content

Commit

Permalink
add adaptive site switch
Browse files Browse the repository at this point in the history
  • Loading branch information
sndrs committed Apr 19, 2024
1 parent 4cea8d2 commit 83deb91
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions common/app/conf/switches/PerformanceSwitches.scala
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,14 @@ trait PerformanceSwitches {
sellByDate = never,
exposeClientSide = false,
)

val AdaptiveSite = Switch(
SwitchGroup.Performance,
"adaptive-site",
"If switched on, the site will run a pared-back set of features on poorly-performing page views.",
owners = Seq(Owner.withGithub("[email protected]")),
safeState = On,
sellByDate = never,
exposeClientSide = true,
)
}

0 comments on commit 83deb91

Please sign in to comment.