From 92e3016b047556b66b7e8ca9f89cfea9712e334a Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Mon, 24 Jun 2024 13:55:25 +0800
Subject: [PATCH] LOG 调整
---
src/main/java/org/springblade/binlog/constant/BinLogConstants.java | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/main/java/org/springblade/binlog/constant/BinLogConstants.java b/src/main/java/org/springblade/binlog/constant/BinLogConstants.java
index b22a685..446c3fd 100644
--- a/src/main/java/org/springblade/binlog/constant/BinLogConstants.java
+++ b/src/main/java/org/springblade/binlog/constant/BinLogConstants.java
@@ -31,9 +31,19 @@
@Value("${binlog.table}")
private String table;
+ @Value("${binlog.from.datasource.url}")
+ private String fromUrl;
+
+ @Value("${binlog.from.datasource.username}")
+ private String fromUsername;
+
+ @Value("${binlog.from.datasource.password}")
+ private String fromPassword;
+
public static final int consumerThreads = 5;
- public static final long queueSleep = 1000;
+// public static final long queueSleep = 1000;
+ public static final long queueSleep = 200;
}
--
Gitblit v1.9.3