|
@@ -44,6 +44,17 @@ class Config(object):
|
|
|
config_server_url="http://preapolloconfig-internal.piaoquantv.com/",
|
|
|
timeout=10
|
|
|
)
|
|
|
+ case "copy1":
|
|
|
+ self.articleVideos = "long_articles_match_videos_copy1"
|
|
|
+ self.articleText = "long_articles_text_copy1"
|
|
|
+ self.articleCrawlerVideos = "long_articles_crawler_videos_copy1"
|
|
|
+ self.rootSourceIdTable = "long_articles_root_source_id_copy1"
|
|
|
+ self.getOffVideos = "get_off_videos_copy1"
|
|
|
+ self.apolloConnection = pyapollos.ApolloClient(
|
|
|
+ app_id="LongArticlesMatchServer",
|
|
|
+ config_server_url="http://preapolloconfig-internal.piaoquantv.com/",
|
|
|
+ timeout=10
|
|
|
+ )
|
|
|
|
|
|
def getConfigValue(self, key):
|
|
|
"""
|