lightster / hodor

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

Keep DB adapter configuration altogether #193

Closed lightster closed 8 years ago

lightster commented 8 years ago

Rather than having the DB adapter configuration passed into the constructor and then still require a type be passed to getAdapter(), send the entire configuration to getAdapter() and nothing to the constructor.