Skip to content

Commit

Permalink
Threading was total failure. Gephi's duplicateWorkspace command trunc…
Browse files Browse the repository at this point in the history
…ated my Long values and caused ridiclous problems
  • Loading branch information
thallium205 committed Jan 15, 2013
1 parent dfcb6de commit 70471bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion client/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ app.get('/time/day/:day.:format', time.day);

http.createServer(app).listen(app.get('port'), function(){
console.log("Express server listening on port " + app.get('port'));
});
});
4 changes: 0 additions & 4 deletions client/routes/owner.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@ var request = require('request');
exports.id = function(req, res){
console.log('Fetch gexf graph by Owner Id -> ' + req.params.id);
if (req.params.format.toLowerCase() === 'gexf') {
active --;
req.pipe(request('http://localhost:7475/owner/gexf?ownerId=' + req.params.id)).pipe(res)
} else {
active --;
res.send({error: 'Unsupported filetype specified'});
}
};

exports.addr = function(req, res){
console.log('Fetch gexf graph by Address -> ' + req.params.addr);
if (req.params.format.toLowerCase() === 'gexf') {
active --;
req.pipe(request('http://localhost:7475/owner/gexf?addr=' + req.params.addr)).pipe(res)
} else {
active --;
res.send({error: 'Unsupported filetype specified'});
}
};

0 comments on commit 70471bb

Please sign in to comment.