Commit d180d7af authored by litaolemo's avatar litaolemo

update

parent 77a30b3a
......@@ -144,10 +144,13 @@ def get_task_from_redis():
# if now.hour >= exit_hour:
# sys.exit()
res = rds_1.hgetall("process_num")
print(res)
for platform in platform_crawler_reg:
platform_str = platform + "_process"
print(platform_str)
try:
process_num = rds_1.get(platform_str)
print(process_num)
except Exception as e:
print("line 152 error",e)
continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment