Skip to content

Commit

Permalink
cleanup mysql-import & mysqldump
Browse files Browse the repository at this point in the history
  • Loading branch information
alihm committed Apr 24, 2024
1 parent 00a2b41 commit 908c43b
Show file tree
Hide file tree
Showing 31 changed files with 4,168 additions and 4,460 deletions.
2 changes: 1 addition & 1 deletion ClusterOperator/Backlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const log = require('../lib/log');
const Security = require('./Security');
const ConnectionPool = require('../lib/ConnectionPool');
const utill = require('../lib/utill');
const mysqldump = require('../modules/mysqldump');
const mysqldump = require('../modules/mysqldump/dist/cjs');

class BackLog {
static buffer = [];
Expand Down
5 changes: 4 additions & 1 deletion ClusterOperator/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const log = require('../lib/log');
const utill = require('../lib/utill');
const config = require('./config');
const Security = require('./Security');
const SqlImporter = require('../modules/mysql-import');
const SqlImporter = require('../modules/mysql-import/mysql-import');

/**
* [auth]
Expand Down Expand Up @@ -193,6 +193,8 @@ function startUI() {
}
});
app.get('/getstatus', async (req, res) => {
res.status(403).send('Bad Request');
/*
res.setHeader('Content-Type', 'text/event-stream');
res.setHeader('Cache-Control', 'no-cache');
res.setHeader('Connection', 'keep-alive');
Expand All @@ -207,6 +209,7 @@ function startUI() {
await timer.setTimeout(2000);
// console.log(count);
}
*/
});

app.get('/status', (req, res) => {
Expand Down
Loading

0 comments on commit 908c43b

Please sign in to comment.