Skip to content

Commit

Permalink
Version 0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlopez committed Mar 4, 2014
1 parent f2fa5e9 commit 92ebf6b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ server and many topologies running in worker processes.
- 0.0.3: Published. Major internal/external refactor. Spout.start, Bold.process.
Topology.listen. Topology Server. Task message exchange between running worker processes (in different
nodes). Workers sample.
- 0.0.4: Under develoopment, in master. To implement local and distributed ack.
- 0.0.4: Published. Using SimpleMessages 0.0.6

## To Do

Expand Down
5 changes: 3 additions & 2 deletions lib/simplestorm.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,11 @@ exports.createTopologyServer = function () {
}

return simplemessages.createServer(function (client) {
console.log('new client');
addClient(client);

client.on('error', function() { removeClient(client); });
client.on('close', function() { removeClient(client); });
client.on('error', function() { console.log('client error'); removeClient(client); });
client.on('close', function() { console.log('client close'); removeClient(client); });
client.on('data', function(msg) {
if (isHostMessage(msg))
broadcast(msg, client);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "nodeunit test"
}
, "dependencies": {
"simplemessages": "0.0.5"
"simplemessages": "0.0.6"
}
, "devDependencies": {
"nodeunit": ">= 0.7.4"
Expand Down
2 changes: 1 addition & 1 deletion samples/DistributedWebCrawler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"version": "0.0.1",
"private": true,
"dependencies": {
"simplequeue": "0.0.3"
"simplequeue": "0.0.4"
}
}
2 changes: 1 addition & 1 deletion samples/Workers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Server exposes a queue server using port 3000. It listens to topology workers at

Launch one or more clients
```
node stormnode.js port
node stormapp.js [port]
```
The node starts to listen other nodes at `port`. It communicates its address to the topology server
listening at port 3001.
Expand Down
4 changes: 2 additions & 2 deletions samples/Workers/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "distributed-webcrawler-example",
"name": "workers-example",
"version": "0.0.1",
"private": true,
"dependencies": {
"simplequeue": "0.0.2"
"simplequeue": "0.0.4"
}
}

0 comments on commit 92ebf6b

Please sign in to comment.