Commit 10418f09 by 陈森彬

update

parent 4f1a2a43
Showing with 2 additions and 2 deletions
...@@ -51,9 +51,9 @@ class MongoOperator: ...@@ -51,9 +51,9 @@ class MongoOperator:
def get_unexpired_time(plat): def get_unexpired_time(plat):
if plat == 'powell': if plat == 'powell':
ts = int(time.time()) - 3600 * 24 * 7 # 5d ts = int(time.time()) - 3600 * 24 * 7 # 5d
elif plat in ('digikey',): elif plat in ('digikey', 'avnet',):
ts = int(time.time()) - 3600 * 72 # 72h ts = int(time.time()) - 3600 * 72 # 72h
elif plat in ('microchip', 'heilind', 'element14', 'chip1stop', 'future'): elif plat in ('microchip', 'heilind', 'element14', 'chip1stop', 'future',):
ts = int(time.time()) - 3600 * 24 # 24h ts = int(time.time()) - 3600 * 24 # 24h
elif plat in ("richardsonrfpd",): elif plat in ("richardsonrfpd",):
ts = int(time.time()) - 3600 * 96 # 96h ts = int(time.time()) - 3600 * 96 # 96h
......
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 sign in to comment