pika/pika — pull request #180 by Pankrat (2012-10-02 21:38:50+00:00)
Title: Use socket_timeout from parameters as connection timeout

Setting socket timeouts in Pika is a little bit confusing. Especially overriding the default connection timeout (250ms for blocking connections) involves subclassing the BlockingConnection to set the class attribute.

This patch removes the `SOCKET_TIMEOUT` class attribute which was only used for setting the initial connection timeout and instead reuses the already available `socket_timeout` from the connection parameters.

It also allows float values for `retry_delay`.