彩票助手1.2
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -21,7 +21,7 @@ public class PredictResultTask {
|
||||
* cron表达式:秒 分 时 日 月 周
|
||||
* 0 0/5 * * * ? 表示每5分钟执行一次
|
||||
*/
|
||||
@Scheduled(cron = "0 0/1 * * * ?")
|
||||
@Scheduled(cron = "0 0/10 * * * ?")
|
||||
public void processPendingPredictions() {
|
||||
try {
|
||||
log.info("=== 开始执行预测结果匹配定时任务 ===");
|
||||
|
||||
@@ -4,8 +4,8 @@ spring:
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://localhost:3306/cpzs
|
||||
username: cpzs_root
|
||||
password: cpzs_123456
|
||||
username: root
|
||||
password: root
|
||||
# datasource:
|
||||
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
# url: jdbc:mysql://47.117.22.239:3306/cpzs?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&autoReconnect=true&failOverReadOnly=false&connectTimeout=10000&socketTimeout=30000
|
||||
@@ -19,17 +19,17 @@ spring:
|
||||
# max-lifetime: 1800000 # 连接的最大生命周期(毫秒)
|
||||
# auto-commit: true # 自动提交
|
||||
# connection-test-query: SELECT 1 # 测试连接是否可用的查询语句
|
||||
# data:
|
||||
# redis:
|
||||
# host: localhost
|
||||
# port: 6379
|
||||
# database: 0
|
||||
data:
|
||||
redis:
|
||||
host: 47.117.22.239
|
||||
host: localhost
|
||||
port: 6379
|
||||
database: 0
|
||||
password: cpzs_123456
|
||||
# data:
|
||||
# redis:
|
||||
# host: 47.117.22.239
|
||||
# port: 6379
|
||||
# database: 0
|
||||
# password: cpzs_123456
|
||||
server:
|
||||
port: 8123
|
||||
servlet:
|
||||
|
||||
Reference in New Issue
Block a user