def publish_retry_length(self, redis_client, port, db):
        """
        :param redis_client: Redis client
        :param db: Redis Database index
        :param port: Redis port
        :return: Redis schedule length
        """
        retry_length = redis_client.zcard('retry')
        self.__publish(port, db, 'retry', retry_length)

        :param redis_client: Redis client
        :param db: Redis Database index
        :param port: Redis port
        :return: Redis schedule length
        
src/collectors/sidekiq/sidekiq.py