Merge pull request #7780 from dataease/pr@dev@perf_log_live_time

perf: 日志保留时间最大设置4000天
This commit is contained in:
fit2cloud-chenyw 2024-01-24 10:37:10 +08:00 committed by GitHub
commit b3f12e37cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 3 deletions

View File

@ -840,6 +840,7 @@ export default {
empty_msg: 'If empty then default value is 30 days', empty_msg: 'If empty then default value is 30 days',
front_error: 'Valid range [0 - 300]', // 修改了提示信息 front_error: 'Valid range [0 - 300]', // 修改了提示信息
msg_error: 'Valid range [1 - 365]', msg_error: 'Valid range [1 - 365]',
log_live_time_error: 'Valid range [1 - 4000]',
limit_times_error: 'Valid range [1 - 100]', limit_times_error: 'Valid range [1 - 100]',
relieve_times_error: 'Valid range [1 - 100]', relieve_times_error: 'Valid range [1 - 100]',
SMTP_port: 'SMTP Port', SMTP_port: 'SMTP Port',

View File

@ -839,6 +839,7 @@ export default {
empty_msg: '為空則默認取值30天', empty_msg: '為空則默認取值30天',
front_error: '請填寫0-300正整數', // 修改了提示信息 front_error: '請填寫0-300正整數', // 修改了提示信息
msg_error: '請填寫1-365正整數', msg_error: '請填寫1-365正整數',
log_live_time_error: '請填寫1-4000正整數',
limit_times_error: '請填寫1-100正整數', limit_times_error: '請填寫1-100正整數',
relieve_times_error: '請填寫1-100正整數', relieve_times_error: '請填寫1-100正整數',
SMTP_port: 'SMTP端口', SMTP_port: 'SMTP端口',

View File

@ -934,7 +934,8 @@ export default {
edit_classification: '编辑分类', edit_classification: '编辑分类',
classification_name: '分类名称', classification_name: '分类名称',
by_event_details: '通过事件详情搜索', by_event_details: '通过事件详情搜索',
password_input_error: '原始密码输入错误' password_input_error: '原始密码输入错误',
log_live_time_error: '请填写1-4000整数'
}, },
chart: { chart: {
empty_hide: '隐藏空值', empty_hide: '隐藏空值',

View File

@ -291,8 +291,8 @@ export default {
], ],
logTimeOut: [ logTimeOut: [
{ {
pattern: '^([1-9]|[1-9][0-9]|[1-2][0-9][0-9]|3[0-5][0-9]|36[0-5])$', pattern: /^(?:[1-9]|[1-9]\d{1,2}|[1-3]\d{3}|4000)$/,
message: this.$t('system_parameter_setting.msg_error'), message: this.$t('system_parameter_setting.log_live_time_error'),
trigger: 'blur' trigger: 'blur'
} }
], ],