def enqueue(self, job):
    """Enqueue a job for later processing, returns the new length of the queue
    """
    if job.queue_name():
      raise EnqueueError("job %s already queued!" % job.job_id)
    new_len = self.redis.lpush(self.queue_name, job.serialize())
    job.notify_queued(self)
    return new_len
Enqueue a job for later processing, returns the new length of the queue