Browse Source

取消 clickhouse debug

dev
CODE 1 year ago
parent
commit
7b66b36848
  1. 2
      api/app/lib/schedule/alarms_push.js
  2. 2
      api/app/lib/service/clickHouseClient.js

2
api/app/lib/schedule/alarms_push.js

@ -4,7 +4,7 @@ let isDev = false
// isDev = true
let proDebug = false
proDebug = true
// proDebug = true
module.exports = function (app, opts) {
const alarmsPush = app.fs.scheduleInit(

2
api/app/lib/service/clickHouseClient.js

@ -11,7 +11,7 @@ function factory (app, opts) {
app.fs.clickHouse[d.name] = new ClickHouse({
url: url,
port: port,
debug: true || opts.dev,
debug: opts.dev,
format: "json",
basicAuth: user && password ? {
username: user,

Loading…
Cancel
Save