Browse Source

feat: 添加同步任务执行历史保留天数配置项

pull/6678/head
Bai 3 years ago committed by Jiangjie.Bai
parent
commit
a0b756ebaa
  1. 1
      apps/jumpserver/conf.py
  2. 2
      apps/jumpserver/settings/custom.py

1
apps/jumpserver/conf.py

@ -310,6 +310,7 @@ class Config(dict):
'FORGOT_PASSWORD_URL': '',
'HEALTH_CHECK_TOKEN': '',
'LOGIN_REDIRECT_TO_BACKEND': None, # 'OPENID / CAS
'CLOUD_SYNC_TASK_EXECUTION_KEEP_DAYS': 30,
'TERMINAL_RDP_ADDR': ''
}

2
apps/jumpserver/settings/custom.py

@ -131,3 +131,5 @@ SECURITY_LUNA_REMEMBER_AUTH = CONFIG.SECURITY_LUNA_REMEMBER_AUTH
SECURITY_WATERMARK_ENABLED = CONFIG.SECURITY_WATERMARK_ENABLED
LOGIN_REDIRECT_TO_BACKEND = CONFIG.LOGIN_REDIRECT_TO_BACKEND
CLOUD_SYNC_TASK_EXECUTION_KEEP_DAYS = CONFIG.CLOUD_SYNC_TASK_EXECUTION_KEEP_DAYS

Loading…
Cancel
Save