mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-13 22:58:54 +02:00
ef4c5eb65e
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
25 lines
807 B
Scala
25 lines
807 B
Scala
package com.twitter.cr_mixer.config
|
|
|
|
import com.twitter.util.Duration
|
|
|
|
case class TimeoutConfig(
|
|
/* Default timeouts for candidate generator */
|
|
serviceTimeout: Duration,
|
|
signalFetchTimeout: Duration,
|
|
similarityEngineTimeout: Duration,
|
|
annServiceClientTimeout: Duration,
|
|
/* For Uteg Candidate Generator */
|
|
utegSimilarityEngineTimeout: Duration,
|
|
/* For User State Store */
|
|
userStateUnderlyingStoreTimeout: Duration,
|
|
userStateStoreTimeout: Duration,
|
|
/* For FRS based tweets */
|
|
// Timeout passed to EarlyBird server
|
|
earlybirdServerTimeout: Duration,
|
|
// Timeout set on CrMixer side
|
|
earlybirdSimilarityEngineTimeout: Duration,
|
|
frsBasedTweetEndpointTimeout: Duration,
|
|
topicTweetEndpointTimeout: Duration,
|
|
// Timeout Settings for Navi gRPC Client
|
|
naviRequestTimeout: Duration)
|