You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jumpserver/apps/terminal/tasks.py

21 lines
198 B

# -*- coding: utf-8 -*-
#
from celery import shared_task
CACHE_REFRESH_INTERVAL = 10
RUNNING = False
# Todo: 定期清理上报history
@shared_task
def clean_terminal_history():
pass