...
|
...
|
@@ -12,7 +12,7 @@ const hbs = require('../../middleware/yoho-koa-hbs'); |
|
|
const helpers = require('../../lib/helpers');
|
|
|
const routers = require('./routers');
|
|
|
const collectData = require('./actions/collect_data');
|
|
|
const checkcode = require('./actions/checkcode');
|
|
|
const profile = require('./actions/profile');
|
|
|
const redis = require('../../lib/redis');
|
|
|
|
|
|
const app = new Koa();
|
...
|
...
|
@@ -36,7 +36,7 @@ const mastersUrl = [ |
|
|
];
|
|
|
|
|
|
// 日常规则检查
|
|
|
checkcode.check();
|
|
|
profile.report();
|
|
|
|
|
|
// 服务器监控数据采集
|
|
|
collectData.collect();
|
...
|
...
|
|