Browse Source

测试GPU性能

罗俊辉 1 năm trước cách đây
mục cha
commit
32a22b3fad
2 tập tin đã thay đổi với 3 bổ sung3 xóa
  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:

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
test/rank_dev.py


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác