refs #5541 Allow to set slave server id
gitea/mylogger/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2023-04-25 18:42:21 +02:00
parent c3c5d2118e
commit 6bc39209d0
4 changed files with 6 additions and 4 deletions

View File

@ -7,6 +7,7 @@ restartTimeout: 30
queueFlushDelay: 200
maxBulkLog: 100
upperCaseTable: true
serverId: 1
srcDb:
host: localhost
port: 3306

View File

@ -119,7 +119,8 @@ module.exports = class MyLogger {
'updaterows',
'deleterows'
],
includeSchema
includeSchema,
serverId: conf.serverId
};
if (conf.testMode)

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "mylogger",
"version": "0.1.10",
"version": "0.1.11",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "mylogger",
"version": "0.1.10",
"version": "0.1.11",
"license": "GPL-3.0",
"dependencies": {
"colors": "^1.4.0",

View File

@ -1,6 +1,6 @@
{
"name": "mylogger",
"version": "0.1.10",
"version": "0.1.11",
"author": "Verdnatura Levante SL",
"description": "MySQL and MariaDB logger using binary log",
"license": "GPL-3.0",