소스 검색

测试GPU性能

罗俊辉 1 년 전
부모
커밋
32a22b3fad
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      routes/articleDBServer.py
  2. 1 1
      test/rank_dev.py

+ 2 - 2
routes/articleDBServer.py

@@ -76,8 +76,8 @@ class ArticleSpider(object):
             appMsgId = info.get("AppMsg", {}).get("BaseInfo", {}).get("AppMsgId", None)
             createTime = info.get("AppMsg", {}).get("BaseInfo", {}).get("CreateTime", None)
             updateTime = info.get("AppMsg", {}).get("BaseInfo", {}).get("UpdateTime", None)
-            # if int(time.time()) - int(updateTime) <= 20 * 60 * 60:
-            #     continue
+            if int(time.time()) - int(updateTime) <= 20 * 60 * 60:
+                continue
             Type = info.get("AppMsg", {}).get("BaseInfo", {}).get("Type", None)
             detail_article_list = info.get("AppMsg", {}).get("DetailInfo", [])
             if detail_article_list:

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
test/rank_dev.py


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.