Skip to content

Commit

Permalink
Separated worker module
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Jan 9, 2020
1 parent 80adbf0 commit 307aa33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions init.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ global.mysql.query("SELECT * FROM config").then(function (rows) {
case 'worker':
require('./lib/worker.js');
break;
case 'pool_stats':
require('./lib/pool_stats.js');
break;
case 'longRunner':
require('./lib/longRunner.js');
break;
Expand Down

0 comments on commit 307aa33

Please sign in to comment.