mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-18 09:08:48 +02:00
19 lines
715 B
Scala
19 lines
715 B
Scala
![]() |
package com.twitter.follow_recommendations.common.candidate_sources.crowd_search_accounts
|
||
|
|
||
|
import com.twitter.follow_recommendations.configapi.common.FeatureSwitchConfig
|
||
|
import com.twitter.timelines.configapi.FSBoundedParam
|
||
|
import com.twitter.timelines.configapi.FSName
|
||
|
import com.twitter.timelines.configapi.Param
|
||
|
import javax.inject.Inject
|
||
|
import javax.inject.Singleton
|
||
|
|
||
|
@Singleton
|
||
|
class CrowdSearchAccountsFSConfig @Inject() () extends FeatureSwitchConfig {
|
||
|
override val booleanFSParams: Seq[Param[Boolean] with FSName] = Seq(
|
||
|
CrowdSearchAccountsParams.CandidateSourceEnabled,
|
||
|
)
|
||
|
override val doubleFSParams: Seq[FSBoundedParam[Double]] = Seq(
|
||
|
CrowdSearchAccountsParams.CandidateSourceWeight,
|
||
|
)
|
||
|
}
|