library/Rediska/Connection.php
public function setBlockingMode($flag = true)
    {
        $this->_options['blockingMode'] = $flag;

        if ($this->isConnected()) {
            stream_set_blocking($this->_socket, $this->_options['blockingMode']);
        }

        return $this;
    }
public function setBlockingMode($flag = true)
    {
        $this->_options['blockingMode'] = $flag;

        if ($this->isConnected()) {
            stream_set_blocking($this->_socket, $this->_options['blockingMode']);
        }

        return $this;
    }
Set blocking/non-blocking mode for reads

@param $flag
@return Rediska_Connection