wa0x6e / php-resque-ex

PHP port of resque (Workers and Queueing), with phpredis support, and more logging options
MIT License
137 stars 92 forks source link

Performing a DB select when the DB is set to default '0' is not necessary and breaks Twemproxy #8

Closed pvwoods closed 10 years ago

pvwoods commented 10 years ago

By default, the database is 0, so there is no need to select a database if '0' is provided. (http://download.redis.io/redis-stable/redis.conf)

This also makes php-resque-ex compliant with twemproxy, which does not support the 'select' command.

pvwoods commented 10 years ago

Alright, I made that change.