Commit fa04387b authored by Kamron Aroonrua's avatar Kamron Aroonrua 💬

remove Storage RPC Feature

parent 2af6482c
...@@ -32,7 +32,9 @@ var JW = function JobWorker (prm) ...@@ -32,7 +32,9 @@ var JW = function JobWorker (prm)
this.job_registry = JobRegistry.create({'redis':this.mem}); this.job_registry = JobRegistry.create({'redis':this.mem});
this.acl_validator = ACLValidator.create(this.auth_cfg); this.acl_validator = ACLValidator.create(this.auth_cfg);
this.storagecaller = new SSCaller({'url':SS_URL}); /* Disable RPC Feature */
//this.storagecaller = new SSCaller({'url':SS_URL});
this.storagecaller = null;
} }
JW.prototype.start = function () JW.prototype.start = function ()
......
...@@ -52,7 +52,10 @@ SS.prototype.start = function() ...@@ -52,7 +52,10 @@ SS.prototype.start = function()
{ {
console.log('Starting Storage Service ...\n'); console.log('Starting Storage Service ...\n');
this.amqp_start(); this.amqp_start();
this.ipc_start();
/* Disable RPC Feature */
//this.ipc_start();
setTimeout(function(){ setTimeout(function(){
this.http_start(); this.http_start();
},5000); },5000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment