lykmapipo / sails-hook-subscriber

Kue based job subscriber(consumer and workers pool) for sails
28 stars 12 forks source link

Running without http server #12

Closed nrempel closed 8 years ago

nrempel commented 8 years ago

I want to use sails-hook-subscriber with sails in a worker process. The worker process needs access to orm and pubsub hooks but cannot bind to a port and accept web requests.

Do you have any recommendations on how to go about doing this?

nrempel commented 8 years ago

If anyone is curious, I accomplished this with the help from this blog post: http://blog.thesparktree.com/post/104779353989/reusing-sailsjs-waterline-models-in-background