浏览代码

测试GPU性能

罗俊辉 11 月之前
父节点
当前提交
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


部分文件因为文件数量过多而无法显示