lightster / hodor

🚪 A worker queue that is evolving to a job queue
MIT License
4 stars 1 forks source link

Optimize QueueConfig methods for use cases #200

Closed lightster closed 7 years ago

lightster commented 7 years ago

The hasWorkerConfig() method was indirectly generating full-on worker configs for every worker defined even though the method is only basically used in JobOptionsValidator when a job is being pushed to a single worker.