Skip to content

Commit

Permalink
refactor(all): refactor filename
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyoukun committed Aug 10, 2018
1 parent a17851d commit 2792e69
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/proxy/addons.finder.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if (isFirstLoad) {
if (/\.node$/i.test(curr) && curr.indexOf(parent) !== 0) {
// 发现私有node扩展
setTimeout(function() {
require('runtime/md5.check.js').findNodeCpp(curr);
require('runtime/md5.checker.js').findNodeCpp(curr);
}, 3000);
}
return fn.apply(this, arguments);
Expand Down
2 changes: 1 addition & 1 deletion bin/proxy/admin.actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module.exports = {

'/reload': function (req, res) {

cp.exec('node --no-warnings ./check.js', {
cp.exec('node --no-warnings ./config.checker.js', {
timeout: 5000,
encoding: 'utf8',
cwd: __dirname
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion bin/proxy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

const plug = require('../tsw/plug.js');

require('./version.js');
require('./version.checker.js');
require('./addons.finder.js');

plug('runtime/Console.hack.js');
Expand Down
4 changes: 2 additions & 2 deletions bin/proxy/master.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@ function startServer() {
process.title = 'TSW/worker/node';
logger.info('start worker....');
require('./http.proxy.js');
require('runtime/JankWatcher.js');
require('runtime/jank.watcher.js');

// 30分钟后开始算
!config.isTest && !config.devMode &&
setTimeout(function() {
require('runtime/md5.check.js').check();
require('runtime/md5.checker.js').check();
}, 30 * 60000);

if (cluster.isMaster && debugOptions.inspectorEnabled) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2792e69

Please sign in to comment.