Skip to content

Commit 0f42971

Browse files
committed
mesh
1 parent cb11133 commit 0f42971

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodezoo-github",
3-
"version": "4.0.0",
3+
"version": "5.0.0",
44
"description": "nodezoo.com micro-service handling github meta data",
55
"main": "github.js",
66
"keywords": [

srv/github-dev.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

22
var HOST = process.env.HOST || 'localhost'
3-
var REDIS = process.env.REDIS || 'localhost'
43
var TOKEN = process.env.TOKEN || 'NO_TOKEN'
54

65
require('seneca')()
@@ -48,11 +47,6 @@ require('seneca')()
4847
})
4948
})
5049

50+
.use( 'mesh', {auto:true, pins:['role:info,req:part','role:github']} )
5151

52-
.listen({ host:REDIS, type:'redis', pin:'role:info,req:part' })
53-
.client({ host:REDIS, type:'redis', pin:'role:info,res:part' })
54-
55-
.client({ host:HOST, port:44003, pin:'role:npm' })
56-
57-
.listen(44004)
58-
.repl(43004)
52+
.repl(33004)

0 commit comments

Comments
 (0)