(self, timeout=0)
Pop a request
        timeout not support in this queue class
Pop a request
        timeout not support in this queue class
Pop a request timeout not support in this queue class
def pop(self, timeout=0):
        """
        Pop a request
        timeout not support in this queue class
        """
        # use atomic range/remove using multi/exec
        pipe = self.server.pipeline()
        pipe.multi()
        pipe.zrange(self.key, 0, 0).zremrangebyrank(self.key, 0, 0)
        results, count = pipe.execute()
        if results:
            return self._decode_request(results[0])
def pop ( self , timeout = 0 ) : # use atomic range/remove using multi/exec pipe = self . server . pipeline ( ) pipe . multi ( ) pipe . zrange ( self . key , 0 , 0 ) . zremrangebyrank ( self . key , 0 , 0 ) results , count = pipe . execute ( ) if results : return self . _decode_request ( results [ 0 ] )