From bda0e0ec64a8f08f211975d1526b17f19cf0b130 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 17 六月 2023 00:24:08 +0800 Subject: [PATCH] update 优化 !pr359 完成 powerjob 集成 --- ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-prod.properties | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-daily.properties b/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-prod.properties similarity index 91% copy from ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-daily.properties copy to ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-prod.properties index 5b07eec..6316e30 100644 --- a/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-daily.properties +++ b/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-prod.properties @@ -1,5 +1,4 @@ -oms.env=DAILY -logging.config=classpath:logback-dev.xml +oms.env=prod ####### Database properties(Configure according to the the environment) ####### spring.datasource.core.driver-class-name=com.mysql.cj.jdbc.Driver @@ -30,12 +29,12 @@ #oms.alarm.ding.agent-id=847044348 ####### Resource cleaning properties ####### -oms.instanceinfo.retention=1 -oms.container.retention.local=1 +oms.instanceinfo.retention=7 +oms.container.retention.local=7 oms.container.retention.remote=-1 ####### Cache properties ####### -oms.instance.metadata.cache.size=1024 +oms.instance.metadata.cache.size=2048 ####### Threshold in precise fetching server(0~100). 100 means full detection of server, in which ####### ####### split-brain could be avoided while performance overhead would increase. ####### -- Gitblit v1.9.3