Merge pull request #67 from ethereum/yann300-patch-4

remove profiler
remixd
yann300 6 years ago committed by GitHub
commit 5a480a08b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      bin/remixd

@ -22,7 +22,6 @@ program
.option('-a, --auto-mine', 'mine pending transactions') .option('-a, --auto-mine', 'mine pending transactions')
.option('-r, --rpc <cors-domains>', 'start rpc server. Values are CORS domain') .option('-r, --rpc <cors-domains>', 'start rpc server. Values are CORS domain')
.option('-rp, --rpc-port', 'rpc server port (default 8545)') .option('-rp, --rpc-port', 'rpc server port (default 8545)')
.option('--profiler', 'start profiler service')
.on('--help', function(){ .on('--help', function(){
console.log('\nExample:\n\n remixd --dev-path /home/devchains/chain1 --mist --geth --frontend /home/frontend --frontend-port 8084 --auto-mine') console.log('\nExample:\n\n remixd --dev-path /home/devchains/chain1 --mist --geth --frontend /home/frontend --frontend-port 8084 --auto-mine')
}).parse(process.argv) }).parse(process.argv)
@ -67,11 +66,6 @@ if (program.sharedFolder) {
killCallBack.push(sharedFolderrouter.start()) killCallBack.push(sharedFolderrouter.start())
} }
if (program.profiler) {
var profilerRouter = new Router(65521, servicesList['profiler'])
killCallBack.push(profilerRouter.start())
}
// kill // kill
function kill () { function kill () {
for (var k in killCallBack) { for (var k in killCallBack) {

Loading…
Cancel
Save