senecajs / seneca-redis-queue-transport

Seneca micro-services message transport with Redis queues
MIT License
9 stars 15 forks source link

failed: Cannot read property 'sync' of undefined. #31

Open vforv opened 7 years ago

vforv commented 7 years ago

I am using last version of seneca do this work with it?

Here is my set up:

client:

Seneca({ logger: require('seneca-demo-logger'), debug: { short_logs: true } } ) .use('redis-queue-transport') .client({ type: 'redis-queue', pin: 'role:ping,cmd:date', port: 6379 }) .use(ping.getPing1)

.ready(() => { })


> server:

Seneca({ logger: require('seneca-demo-logger'), debug: { short_logs: true } } ) .use('redis-queue-transport') .use(ping.getPing) .listen({type: 'redis-queue', pin: 'role:ping,cmd:date', port:6379 }) .ready(() => { console.log(Ping service ready!!!}) })

surfdude75 commented 5 years ago

Here is the fix

https://github.com/senecajs/seneca-redis-queue-transport/pull/33