Commit c2a19616 by rongjun

bug

parent 2fc912fc
...@@ -36,7 +36,7 @@ class Task(BaseModel): ...@@ -36,7 +36,7 @@ class Task(BaseModel):
'type': al.config.get('type'), 'max_val': str(al.config.get('max_val')), 'type': al.config.get('type'), 'max_val': str(al.config.get('max_val')),
'min_val': str(al.config.get('min_val'))} 'min_val': str(al.config.get('min_val'))}
dd.append(d) dd.append(d)
cache.set(instrument, dd) cache.set(instrument, dd, 24*60*60)
@staticmethod @staticmethod
def get_active_list(instrument): def get_active_list(instrument):
......
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