@@ -19,7 +19,7 @@ class BaseConfig(object):
# 前k个从ROV召回池中获取视频
K = 3
# 从流量池获取视频的概率设置
- P = 0
+ P = 0.3
# ROV召回池redis key前缀,完整格式:com.weiqu.video.recall.hot.item.score.{date}
RECALL_KEY_NAME_PREFIX = 'com.weiqu.video.recall.hot.item.score.'
@@ -179,6 +179,6 @@ class ProductionConfig(BaseConfig):
def set_config():
# return DevelopmentConfig()
- # return TestConfig()
+ return TestConfig()
# return PreProductionConfig()
- return ProductionConfig()
+ # return ProductionConfig()