eddies5/laser — pull request #1 by jessicalucci (2014-02-16 02:59:23+00:00)
Title: start socket ID map

So, Here I'm now passing the kue object into worker, so that worker can get a the current list of jobs from kue. It just takes the first job off the queue (I think so, as I've specified range 0 - 0), and pulls the socket id that we want to be processing from the job's data. (I added the socket id to the job's data upon job creation). However, when I pull the id from the job, the id is NULL. I'm assuming this is either because I'm not adding the data appropriately to the job, or I'm pulling the wrong job. Not sure how to specify I want the next executable job at the top of the queue?