jumpserver/apps/terminal/tasks.py

21 lines
198 B
Python
Raw Normal View History

2016-11-13 14:34:38 +00:00
# -*- coding: utf-8 -*-
#
2017-11-14 01:44:16 +00:00
from celery import shared_task
2017-12-04 08:41:00 +00:00
2017-12-04 08:41:00 +00:00
CACHE_REFRESH_INTERVAL = 10
2017-12-04 12:15:47 +00:00
RUNNING = False
2016-11-13 14:34:38 +00:00
2017-11-14 01:44:16 +00:00
# Todo: 定期清理上报history
@shared_task
def clean_terminal_history():
pass
2017-12-04 08:41:00 +00:00