def rate_limit(self, task_name, rate_limit, destination=None, **kwargs):
    "Tell workers to set a new rate limit for task by type.\n\n        Arguments:\n            task_name (str): Name of task to change rate limit for.\n            rate_limit (int, str): The rate limit as tasks per second,\n                or a rate limit string (`'100/m'`, etc.\n                see :attr:`celery.task.base.Task.rate_limit` for\n                more information).\n\n        See Also:\n            :meth:`broadcast` for supported keyword arguments.\n        "
    return self.broadcast('rate_limit', destination=destination, arguments={'task_name': task_name, 'rate_limit': rate_limit}, **kwargs)
Tell workers to set a new rate limit for task by type.

Arguments:
    task_name (str): Name of task to change rate limit for.
    rate_limit (int, str): The rate limit as tasks per second,
        or a rate limit string (`'100/m'`, etc.
        see :attr:`celery.task.base.Task.rate_limit` for
        more information).

See Also:
    :meth:`broadcast` for supported keyword arguments.
def rate_limit(self, task_name, rate_limit, destination=None, **kwargs):
    "Tell workers to set a new rate limit for task by type.\n\n        Arguments:\n            task_name (str): Name of task to change rate limit for.\n            rate_limit (int, str): The rate limit as tasks per second,\n                or a rate limit string (`'100/m'`, etc.\n                see :attr:`celery.task.base.Task.rate_limit` for\n                more information).\n\n        See Also:\n            :meth:`broadcast` for supported keyword arguments.\n        "
    return self.broadcast('rate_limit', destination=destination, arguments={'task_name': task_name, 'rate_limit': rate_limit}, **kwargs)